home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / physe / physe.doc (.txt) < prev    next >
Texinfo Document  |  1992-08-26  |  111KB  |  2,370 lines

  1. %Changes by lde
  2. %  changed .texindex extension to .index
  3. %  set IBMfalse
  4. %FORMAT physe   % use PHYSE format
  5. %***  this is file PMANUAL as of 07.03.86  ***
  6. % \input themac
  7. %***  this is file THEMAC as of 11.02.86  ***
  8. % \input mppmac  % get MPP macros
  9. %***  this is file MPPMAC as of 17.03.86  ***
  10. \input physupdt  % get updates and corrections to PHYS-TeX
  11. \def\wlog#1{} % suppress allocation messages
  12. \catcode`\@=11
  13. %\def\jobname{pmanual}
  14. %***  additional macros for MPP  ***
  15. %***  (Max-Planck-Institut fuer Physik und Astrophysik)  ***
  16. %***  (Werner-Heisenberg-Institut fuer Physik)  ***
  17. \def\mppaddresstext{Postfach 40 12 12, D-8000 M\"unchen 40\else
  18.   P.O.Box 40 12 12, Munich (Fed.~Rep.~Germany)}
  19. \def\mppaddress{\address
  20.   {Max-Planck-Institut f\"ur Physik und Astrophysik%
  21.   \\-- Werner-Heisenberg-Institut f\"ur Physik --%
  22.   \\\case@language\mppaddresstext}}
  23. \def\mppnum#1{\topright{MPI--PAE/#1}}
  24. %***  mpp letterhead  ***
  25. \font\fourtenbf=\font@sel ssbx10 scaled \magstep2 % for letterhead
  26. \font\sixtenbf=\font@sel ssbx10 at 16.587 pt % for letterhead
  27.                                              %   (LasergrafiX)
  28. \font\seventenbf=\font@sel ssbx10 scaled \magstep3 % for letterhead
  29.                                                    %   (Canon)
  30. \def\mppae@text{MAX-PLANCK-INSTITUT F\"UR PHYSIK UND ASTROPHYSIK}
  31. \def\letterC{\endpage \vglue-19mm\centerline{\seventenbf
  32.     \mppae@text}\l@tt@r}          % for output on canon
  33. \def\letterL{\endpage \vglue-26mm\centerline{\sixtenbf
  34.     \mppae@text}\l@tt@r}          % for output on lasergrafix
  35. \let\letter=\letterL              % default is lasergrafix
  36. \def\l@tt@r#1#2#3{\centerline{\fourtenbf
  37.     WERNER-HEISENBERG-INSTITUT F\"UR PHYSIK}%
  38.   \skippagenum T\skipheadline T\skipfootline T%
  39.   \centerline{\strut#1}\vskip.5cm%
  40.   \line{\vtop to5cm{\lftline{\strut}\vfil
  41.     \let\\\cr \halign{\strut##\hfil\cr#3\cr}\vfil}%
  42.   \hss\vtop to5cm{\def\lftline##1{\hbox to 5cm{##1\hfil}}%
  43.     \lftline{\strut}\eightrm  \setbaselineskip=12pt \vfil
  44.     \lftline{F\"OHRINGER RING 6}\lftline{\tenrm D-8000 M\"UNCHEN 40}%
  45.     \lftline{\case@language{TELEFON\else PHONE}: (089) 31 893
  46.       \if!#2!\else - #2 \case@language{oder\else or} \fi-1}%
  47.     \lftline{TELEGRAMM:}\lftline{PHYSASTROPLANCK M\"UNCHEN}%
  48.     \lftline{TELEX: 52 15 61 9 mppa d}%
  49.     \lftline{POSTFACH 40 12 12}\vfil}}%
  50.   \vskip1cm\rtline{\thedate}\vskip 1cm plus 1cm minus.5cm}
  51. \def\wlog{\immediate\write\m@ne} % restore PLAIN's definition
  52. \catcode`\@=12 % @ signs are no longer letters
  53. %***  end of file MPPMAC  ***
  54. \def\wlog#1{} % suppress allocation messages
  55. \catcode`\@=11
  56. \outer\def\pthnum#1{\mppnum{PTh #1}}
  57. \let\pthdate=\pubdate
  58. \def\wlog{\immediate\write\m@ne} % restore PLAIN's definition
  59. \catcode`\@=12 % @ signs are no longer letters
  60. %***  additional physics journals  ***
  61. \def\AP{\journal{Ann.\ \Phys}}
  62. \def\CMP{\journal{Commun.\ \Math\Phys}}
  63. \def\JMP{\journal{J.\ \Math\Phys}}
  64. \def\PRep{\journal{\Phys Rep.\ }}
  65. \def\RMP{\journal{\Rev Mod.\ \Phys}}
  66. \def\TMF{\journal{Teor.\ Mat.\ Fiz.\ }}
  67. %***  end of file THEMAC  ***
  68. % \input pmanmac
  69. %***  this is file PMANMAC as of 06.03.86  ***
  70. \catcode`\@=11
  71. \newif\ifIBM
  72. %\IBMtrue  % print the character ^ as `neg' (as on IBM terminals)
  73. \IBMfalse % print the character ^ as `hat' (as in the TeXbook)
  74. \hyphenchar\twelvett=-1 \hyphenchar\tentt=-1
  75. \hyphenchar\eighttt=-1  % prevent hyphenation inside verbatim
  76. \newinsert\margin
  77. \dimen\margin=\maxdimen % no limit on the number of marginal notes
  78. \count\margin=0 \skip\margin=0pt % marginal notes take up no space
  79. \def\skip@userexit{\setbox\z@\box\@cclv \setbox\z@\box\margin}
  80. \def\ship@userexit{\ifvbox\margin \nointerlineskip
  81.   \rlap{\hskip\hsize \hskip6pt\vbox to\z@{\kern4\p@ \box\margin \vss
  82.       }}\fi \unvbox\@cclv}
  83. \let\skipuserexit=\skip@userexit
  84. \let\shipuserexit=\ship@userexit
  85. \newif\ifmultic@lumn  \newcount\numc@lumn  \newdimen\c@lumnwidth
  86. \newbox\partialp@ge  \newdimen\p@gewidth  \newdimen\p@geheight
  87. \let\multicolumn=\relax
  88. \outer\def\singlecolumn{\ifmultic@lumn \singlec@lumn \bigskip \fi}
  89. \outer\def\doublecolumn{\multicolumn\tw@}
  90. \outer\def\triplecolumn{\multicolumn\thr@@}
  91. \outer\def\multicolumn{\ifmultic@lumn \singlec@lumn \fi \multic@lumn}
  92. \def\singlec@lumn{\output{\balancec@lumns}\eject
  93.   \endgroup \pagegoal\vsize}
  94. \def\multic@lumn{\begingroup \multic@lumntrue
  95.   \afterassignment\multic@l@mn \numc@lumn=}
  96. \def\multic@l@mn{\output{\global\setbox\partialp@ge
  97.     \vbox{\unvbox\@cclv\bigskip}}\eject
  98.   \p@gewidth\hsize \p@geheight\vsize \advance\hsize12\p@
  99.   \divide\hsize\numc@lumn \advance\hsize-12\p@ \c@lumnwidth\hsize
  100.   \multiply\vsize\numc@lumn \advance\vsize12\p@
  101.   \let\skipuserexit\skipsofar \let\shipuserexit\shipsofar
  102.   \output{\multic@lumnout}}
  103. \def\multic@lumnout{\splittopskip\topskip \splitmaxdepth\maxdepth
  104.   \dimen@\p@geheight \advance\dimen@-\ht\partialp@ge
  105.   \setbox\tw@\hbox{\count@\@ne \loop \setbox\z@\vsplit\@cclv to\dimen@
  106.     \wd\z@\c@lumnwidth \box\z@ \hfil \advance\count@\@ne
  107.     \ifnum\count@<\numc@lumn \repeat}%
  108.   \setbox\f@ur\vsplit\@cclv to\dimen@
  109.   \bgroup \hsize\p@gewidth \vsize\p@geheight \physoutput \egroup
  110.   \unvbox\@cclv \penalty\outputpenalty}
  111. \def\skipsofar{\setbox\z@\box\partialp@ge}
  112. \def\shipsofar{\unvbox\partialp@ge
  113.   \hbox to\p@gewidth{\unhbox\tw@ \wd\f@ur\c@lumnwidth \box\f@ur}}
  114. \def\balancec@lumns{\setbox\z@\vbox{\unvbox\@cclv}\splittopskip\topskip
  115.   \dimen@-\topskip \advance\dimen@\baselineskip
  116.   \advance\dimen@-\numc@lumn\dimen@
  117.   \advance\dimen@\ht\z@ \divide\dimen@\numc@lumn
  118.   {\vbadness\@M \loop \global\setbox\thr@@\copy\z@
  119.     \global\setbox\@ne\hbox{\count@\@ne \loop
  120.       \setbox\z@\vsplit\thr@@ to\dimen@
  121.       \setbox\z@\vbox to\dimen@{\unvbox\z@}\wd\z@\c@lumnwidth \box\z@
  122.       \hfil \advance\count@\@ne \ifnum\count@<\numc@lumn \repeat}%
  123.     \ifdim\ht\thr@@>\dimen@ \global\advance\dimen@\p@ \repeat}%
  124.   \setbox\tw@\box\@ne \setbox\f@ur\vbox to\dimen@{\unvbox\thr@@}%
  125.   \shipsofar}
  126. \def\AmSTeX{$\cal A\kern-.1667em\lower.5ex\hbox{$\cal M$}\kern-.125em
  127.   S$-\TeX}
  128. \def\bull{\vrule height .9ex width.8ex depth -.1ex } % square bullet
  129. \def\dn{\leavevmode\hbox{\tt\char'14}} % downward arrow
  130. \def\up{\leavevmode\hbox{\tt\char'13}} % upward arrow
  131. \def\|{\leavevmode\hbox{\tt\char`\|}} % vertical line
  132. \def\vspace{\leavevmode\hbox{\tt\char`\ }} % visible space
  133. \def\pt{\,{\rm pt}} % units of points
  134. \def\<#1>{\leavevmode\hbox{$\langle$#1\/$\rangle$}} % syntactic quantity
  135. \def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant
  136. \def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
  137. \def\cstok#1{\leavevmode\thinspace\hbox{\vrule\vtop{\vbox{\hrule\kern1pt
  138.         \hbox{\vphantom{\tt/}\thinspace{\tt#1}\thinspace}}%
  139.       \kern1pt\hrule}\vrule}\thinspace} % control sequence token
  140. \outer\def\begindisplay{\obeylines\startdisplay}
  141. {\obeylines\gdef\startdisplay#1
  142.   {\catcode`\^^M=5$$#1\halign\bgroup\indent##\hfil&&\qquad##\hfil\cr}}
  143. \outer\def\enddisplay{\crcr\egroup$$}
  144. {\catcode`\^=\active
  145.   \gdef\ttverbatim{\begingroup \catcode`\\\@ther \catcode`\{\@ther
  146.     \catcode`\}\@ther \catcode`\$\@ther \catcode`\&\@ther
  147.     \catcode`\#\@ther \catcode`\%\@ther \catcode`\~\@ther
  148.     \catcode`\_\@ther \catcode`\`\active
  149.     \ifIBM \catcode`\^\active \let^\tt@neg \else \catcode`\^\@ther \fi
  150.     \obeyspaces \obeylines \tt}}
  151. {\catcode`\`=\active \gdef`{\relax\lq}}
  152. \def\tt@neg{\hbox to.5em{\hss\the\scriptfont2:\hss}}
  153. {\obeyspaces\gdef {\ }} % \obeyspaces now gives \ , not \space
  154. \outer\def\begintt{\strut \begingroup
  155.   \abovedisplayskip\parskip \abovedisplayshortskip\abovedisplayskip
  156.   \belowdisplayskip\parskip \belowdisplayshortskip\belowdisplayskip
  157.   $$\let\par=\endgraf \ttverbatim \parskip0pt
  158.   \catcode`\|=0 \rightskip=-5pc \tt@finish}
  159. \outer\def\beginttlines{\begingroup\tenpoint
  160.   \let\par=\cr \ttverbatim \catcode`\|=0
  161.   \ifhmode \strut \expandafter\vadjust\fi \bgroup \ttlines@finish}
  162. {\catcode`\|=0 |catcode`|\=\@ther % | is temporary escape character
  163.   |obeylines % end of line is active
  164.   |gdef|tt@finish#1^^M#2\endtt{#1|vbox{|strut#2}|endgroup %
  165.     $$|endgroup |ignorespaces} %
  166.   |gdef|ttlines@finish#1^^M#2\endttlines{#1|halign %
  167.     {|hbox{|strut|quad *|quad##|hfil}|crcr#2|crcr}|egroup %
  168.     |ifhmode |lb |fi |endgroup |endgroup |ignorespaces}}
  169. \catcode`\|=\active
  170. {\obeylines
  171.   \gdef|{\ttverbatim\ttglue\let^^M=\ \let|=\endgroup}
  172.   \gdef\utt|{\setbox\z@\hbox\bgroup|\aftergroup\utt@end}
  173. \def\utt@end{\egroup$\underline{\box\z@}$}
  174. \def\ttglue{\spaceskip=.5em plus.25em minus.15em}
  175. \def\beginlines{\par\begingroup\nobreak\medskip\parindent\z@
  176.   \parskip\z@ \hrule\kern1pt\nobreak \obeylines \everypar{\strut}}
  177. \def\endlines{\kern1pt\hrule\endgroup\medbreak\noindent}
  178. \newwrite\inx
  179. \immediate\openout\inx=\jobname.index % file for index remainders
  180. \def\marginstyle{\eightrm % marginal notes are in 8pt
  181.   \vrule height9pt depth3pt width0pt } % a strut for \insert\margin
  182. \newif\ifsilent
  183. \def\specialhat{\ifmmode \expandafter^\else \expandafter\beginxref\fi}
  184. \def\beginxref{\futurelet\n@xt\beginxrefswitch}
  185. \def\beginxrefswitch{\ifx\n@xt\specialhat \expandafter\silentxref\else
  186.   \silentfalse \expandafter\xref\fi}
  187. \catcode`\^=\active \let ^=\specialhat
  188. \def\silentxref^{\silenttrue\xref}
  189. \begingroup \lccode`\*=`\\ \lowercase{\gdef\bslash{*}} \endgroup
  190. \def\xref{\futurelet\n@xt\xrefswitch} % branch on the next character
  191. \def\xrefswitch{\begingroup\ifx\n@xt|\aftergroup\vxref
  192.   \else \begingroup \ifx\n@xt\<\aftergroup\anglexref
  193.     \else\aftergroup\normalxref \fi\fi \endgroup}
  194. \def\vxref|{\ttverbatim \futurelet\n@xt\vxrefswitch}
  195. \def\vxrefswitch#1|{\vxref@switch#1@@\@}
  196. {\lccode`\~=`\` \lccode`\?=`\^ \lccode`\+=`\\ \lowercase{
  197.   \gdef\vxref@switch#1#2@#3\@{\if\bslash\noexpand\n@xt
  198.       \def\xreftype{2}\def\text{\bslash#2}% code 2, |\arg|
  199.     \else\def\xreftype{1}\def\text{#1#2}\fi % code 1, |arg|
  200.     \bgroup \def^{?}\def~{`}\let\bslash\empty  % for write
  201.     \makexref}
  202.   \gdef\normalxref#1{\def\xreftype{0}\def\text{#1}%
  203.     \bgroup \def\tt{+tt}\def\^{+?}% for write
  204.     \makexref}
  205. \def\anglexref\<#1>{\def\xreftype{3}\def\text{\<#1>}% code 3, \<arg>
  206.   \bgroup \def\text{#1}% for write
  207.   \makexref}
  208. \newif\ifproofmode
  209. \proofmodefalse  % for camera-ready copy
  210. %\proofmodetrue % this should be false when making camera-ready copy
  211. \def\makexref{\ifproofmode \insert\margin{\hbox{\marginstyle\text}}%
  212.     \xdef\writeit{\write\inx{\text\space!\xreftype\space
  213.       \noexpand\number\pageno.}}\writeit
  214.     \else\ifhmode\kern0pt \fi\fi
  215.   \ifsilent \egroup \endgroup \ignorespaces \else
  216.     \egroup \text \endgroup \fi}
  217. \outer\def\startindex{\superendpage
  218.   \he@d{\strut\case@language\indextext}%
  219.   \toc{\case@language\indextext}{\unskip}}
  220. \def\indextext{Stichwortverzeichnis\else Index}
  221. \outer\def\makeindex{\openin\test@read=pmanual.index
  222.   \ifeof\test@read \message{* file pmanual.index missing *}\else
  223.   \closein\test@read \expandafter\make@index\fi}
  224. \def\make@index{\beginindex \input pmanual.index \endindex }
  225. \let\endindex=\endgroup \let\sub=\indent
  226. \def\beginindex{\begingroup \maxdepth\maxdimen
  227.   \def\par{\endgraf \futurelet\n@xt\inxentry}\obeylines
  228.   \everypar{\hangindent\tw@\parindent}\exhyphenpenalty\@M
  229.   \parindent1em\raggedright}
  230. \def\inxentry{\ifx\n@xt\endindex \else \noindent \fi}
  231. \catcode`\@=12 % @ signs are no longer letters
  232. %***  end of file PMANMAC  ***
  233. %\IBMtrue  % print the character ^ as `neg' (as on IBM terminals)
  234.  \IBMfalse % print the character ^ as `hat' (as in the TeXbook)
  235. \tolerance=1000
  236. \def\chapuserexit{\wlog{\expandafter\empty\the\toks0
  237.   \space\the\toks2}}
  238. \def\secsssuserexit{\expandafter\myuserexit\the\toks0 }
  239. \def\myuserexit#1.{\wlog{#1: \the\toks2}\toks0{#1}}
  240. %\pagesel{39}{99}   % print selected pages only
  241. \english
  242. \chapters \chappage
  243. \pageall \toppagenum
  244. \althead
  245. \lheadtext={The PHYS-{\TeX} Manual}
  246. \rheadtext={P. Breitenlohner, A. Kabelschacht and R.J. Drofnats}
  247. \centfoot
  248. \lfoottext={\thetime}   \rfoottext={\thedate}
  249. \equleft \equsect \equshort
  250. \figchap
  251. \tabchap
  252. \refsqb
  253. \tocsect
  254. \footpar \footbot \let\footstyle=\tenpoint
  255. % \input pmantitp   % title page
  256. %***  this is file PMANTITP as of 07.03.86  ***
  257. \submit{Journal ???}
  258. \mppnum{PTh xx/86}
  259. \topright{Version 1.0}
  260. \pubdate{March 1986}
  261. \title{The PHYS-{\TeX} Manual}
  262. \titcon{How to use the {\TeX} formats PHYSE and PHYS
  263. \rm\footnote
  264. *{This output is produced from the file PMANUAL TEX.
  265. Here you could add things like the phrase: Talk given at {\dots} or
  266. similar.}}
  267. \author{P. Breitenlohner\\A. Kabelschacht}
  268. \mppaddress
  269. \autcon{R.J. Drofnats}
  270. \address{Dept.~of Farm Ecology, The University of St.~Anford\\%
  271. P.O.Box 1009, Haga Alto, CA 94321 (USA)}
  272. \abstract{This manual describes how to use the {\TeX} formats PHYSE
  273. and PHYS to write physics papers.
  274. These formats contain MACROS which will automatically number
  275. chapters, sections, \dots, appendices, pages, footnotes, equations,
  276. figures, references and tables.
  277. In addition lists of all figure captions, table captions, references
  278. as well as a table of contents can be generated.}
  279. \endpage
  280. \startpage-2
  281. \null\vskip3in
  282. \centerline{\it This page intentionally left blank}
  283. \vskip3in
  284. \endpage
  285. %***  end of file PMANTITP  ***
  286. \startpage1       % leave room for toc on pages iii and iv
  287. % \input pmanintr   % introduction
  288. %***  this is file PMANINTR as of 08.03.86  ***
  289. \chap{Introduction}
  290. The {\TeX} formats PHYSE and PHYS are extensions of the PLAIN format
  291. and should simplify the writing of physics papers.
  292. They differ from eachother by the use of english
  293. or german hyphenation patterns ^^{hyphenation, german and english}
  294. and by having ^|\english| or ^|\german| as default.
  295. Practically all features of PLAIN-{\TeX} as described in the
  296. \TeX book \RF{\texbook}{{\it The \TeX book}, Donald E.~Knuth,
  297. Addison-Wesley, 1984.}\quref{\texbook} can be used without any change.
  298. The only exception is that PLAIN's ^|\item| has been renamed
  299. to ^|\plainitem|.
  300. The PHYSE and PHYS formats have been developed at the
  301. Max-Planck-Institut f\"ur Physik, M\"unchen, and are derived from
  302. the macros for physics papers used at SLAC\null.
  303. These formats exist as dump files which can be
  304. invoked in the same way as PLAINE or PLAIN\null.
  305. Your input should start with the command |\input|~^|physupdt|
  306. (compare appendix B for details).
  307. \ifIBM  % print this paragraph if ^ is represented as `neg'
  308. The character for superscripts (^{{\tt\char`\^}} in the
  309. {\TeX}book) is printed as ^|^| in this manual, in the same way as it
  310. appears on IBM terminals.\fi
  311. %***  end of file PMANINTR  ***
  312. % \input pmanfont   % fonts, text sizes, styles and headings
  313. %***  this is file PMANFONT as of 06.03.86  ***
  314. \chap{Fonts, Text Sizes, Styles and Headings}
  315. \sect{Text Sizes and Spacing}
  316. You can produce text in various ^{sizes}.
  317. If you use the command ^|\twelvepoint| (which is the default) at the
  318. begin of your input file, everything will be \LARGE{\bf large}
  319. i.e.\ normal text and equations will be in 12\pt, subscripts
  320. and superscripts in 10{\pt} and sub-subscripts etc.\ in 8{\pt} size.
  321. If you use ^|\tenpoint| you get \MEDIUM{\bf medium} size
  322. (10\pt, 8{\pt} and 6\pt) and if you use ^|\eightpoint| you get
  323. \SMALL{\bf small} size (8\pt, 6{\pt} and 5\pt).
  324. Independently you can specify ^^{spacing} ^|\singlespace|,
  325. ^|\doublespace| (the default) or ^|\triplespace| to obtain narrow,
  326. medium or wide space between consecutive lines of text
  327. (^|\baselineskip|); other spacing parameters are set accordingly.
  328. Each time you select a size or spacing the ^|\strut| is suitably
  329. redefind.
  330. The combination |\twelvepoint\triplespace| should about satisfy
  331. {\it Phys.~Rev.}'s requirements.
  332. You can use |\medium{text}| or |\MEDIUM{text}| to get `text' in
  333. {\bf medium} size.
  334. The difference is that ^|\medium| puts `text' into
  335. one or several separate paragraphs whereas ^|\MEDIUM| puts `text'
  336. into the middle of the current paragraph.
  337. The commands ^|\large|, ^|\LARGE|, ^|\small| and ^|\SMALL|
  338. can be used in exactly the same way.
  339. Finally we add a displayed equation:
  340. $$\smallint_0^\infty e^{-x^2} dx = {\sqrt{\pi}\over 2}\qquad\qquad
  341. \smallprod_{i=1}^n e^{x_i}=e^{\smallsum_{i=1}^n x_i}\eqn$$
  342. to see the size of superscripts and super-superscripts.
  343. \medium{\singlespace This paragraph in {\bf medium} size starts with
  344. |\medium{\singlespace This|\dots\space
  345. and uses |\LARGE| and |\SMALL| to get a \LARGE{large} and a
  346. \SMALL{small} word in the middle.
  347. Now we add a very long sentence so that we can see the effect of
  348. the large word on the interline spacing (if any).
  349. Again we add a displayed equation:
  350. $$\smallint_0^\infty e^{-x^2} dx = {\sqrt{\pi}\over 2}\qquad\qquad
  351. \smallprod_{i=1}^n e^{x_i}=e^{\smallsum_{i=1}^n x_i}\eqn$$
  352. to see the size of superscripts and super-superscripts.}
  353. \small{\singlespace This paragraph in {\bf small} size starts with
  354. |\small{\singlespace This|\dots\space
  355. and, after the first line which is entirely in small type,
  356. uses |\LARGE| and |\MEDIUM| to get a \LARGE{large} and a
  357. \MEDIUM{medium} word in the middle.
  358. Again we add a very long sentence in order to see the effect
  359. of the large and the medium word on the interline spacing.
  360. Again we add a displayed equation:
  361. $$\smallint_0^\infty e^{-x^2} dx = {\sqrt{\pi}\over 2}\qquad\qquad
  362. \smallprod_{i=1}^n e^{x_i}=e^{\smallsum_{i=1}^n x_i}\eqn$$
  363. to see the size of superscripts and super-superscripts.}
  364. \sect{Fonts}
  365. For each size there are several `^{fonts}' available, i.e.\ sets of
  366. characters of different shape.
  367. Normally text is typed in `roman' and equations are typed in
  368. `math italic'.
  369. You can choose among:\lb
  370. ^|\rm| for {\rm roman}\lb
  371. |$|\dots|$| (or |\mit| inside equations) for $math\; italic$\lb
  372. ^|\cal| for $\cal CALIGRAPHIC$ (inside equations and for capitals
  373. only)\lb
  374. ^|\it| for {\it text italic}\lb
  375. ^|\sl| for {\sl slanted}\lb
  376. ^|\bf| for {\bf bold}\lb
  377. ^|\tt| for {\tt typewriter}\lb
  378. ^|\caps| for {\caps Large and Small Capitals}\lb
  379. but not all fonts are available in all sizes.
  380. \sect{Styles} ^^{styles}
  381. There are macros which determine how various things are printed
  382. (e.g.\ page numbers, headings, titles and so on).
  383. The are listed below and can be changed as necessary.
  384. %***  the following lines are copied from PHYSTEXT  ***
  385. \beginttlines
  386. \let\headlinestyle=\twelverm
  387. \let\footlinestyle=\twelverm
  388. \let\pagestyle=\twelverm       % page numbers
  389. \let\titlestyle=\bf            % title of paper, chapters, appendices
  390. \let\authorstyle=\caps
  391. \let\addressstyle=\sl
  392. \let\sectstyle=\caps           % section titles
  393. \def\secsstyle{\sectstyle}
  394. \def\secssstyle{\secsstyle}
  395. \def\secsssstyle{\secssstyle}
  396. \def\subsecstyle#1{\hbox{$\underline{\hbox{#1}}$\enskip}\ignorespaces}
  397. \let\headstyle=\UPPERCASE      % headlines for list of figure capts. etc
  398. \let\captionstyle=\it          % figure and table captions
  399. \let\journalstyle=\sl
  400. \let\volumestyle=\bf
  401. \let\figstyle=\empty           % list of figure captions
  402. \def\figindent{to4em}
  403. \def\figbreak{\goodbreak \vskip\refbetweenskip}
  404. \let\tabstyle=\empty           % list of table captions
  405. \let\tabindent=\figindent
  406. \let\tabbreak=\figbreak
  407. \let\refstyle=\empty           % list of references
  408. \let\refindent=\figindent
  409. \def\namrefindent{2em}
  410. \def\refbreak{\filbreak \vskip\refbetweenskip}
  411. \let\tocstyle=\empty           % table of contents
  412. \let\tocindent=\empty
  413. \let\tocbreak=\refbreak
  414. \let\footstyle=\empty          % (list of) footnotes
  415. \let\footindent=\figindent
  416. \let\footbreak=\figbreak
  417. \let\stmttitlestyle=\bf        % mathematical statements
  418. \let\stmtstyle=\sl
  419. \let\prftitlestyle=\caps
  420. \let\prfstyle=\sl
  421. \endttlines
  422. The command |\UPPERCASE| translates it's argument to uppercase
  423. (as does |\uppercase|) but all macros in the argument are
  424. expanded before the translation.
  425. The definition is
  426. \beginttlines
  427. \def\UPPERCASE#1{\edef\next{#1}\uppercase\expandafter{\next}}
  428. \endttlines
  429. \sect{Headings}
  430. ^^{headings}The text of most headings is defined by macros which
  431. are listed below (\<german text>|\else|\<english text>),
  432. and which can be easily changed.
  433. %***  the following lines are copied from PHYSTEXT  ***
  434. \beginttlines
  435. \def\submittextone{Zur Ver\"offentlichung in\else Submitted to}
  436. \def\submittexttwo{ eingereicht\else}
  437. \def\abstracthead{Zusammenfassung\else Abstract}
  438. \def\ackhead{Danksagung\else Acknowledgements}
  439. \def\appendixhead{Anhang\else Appendix}
  440. \def\eqabbr{Gl\else eq}
  441. \def\eqsabbr{Gln\else eqs}
  442. \def\figpref{Abb\else Fig}
  443. \def\fighead{Abbildungen\else Figure captions}
  444. \def\figabbr{Bild\nodot\else Fig}
  445. \def\tabpref{Tab\else Tab}
  446. \def\tabhead{Tabellen\else Table captions}
  447. \let\tababbr=\tabpref
  448. \def\refpref{Lit\else Ref}
  449. \def\refhead{Literaturverzeichnis\else References}
  450. \def\refabbr{???\else Ref}
  451. \def\refsabbr{????\else Refs}
  452. \def\tocpref{Inh\else Toc}
  453. \def\tochead{Inhaltsverzeichnis\else Table of contents}
  454. \def\footpref{Anm\else Foot}
  455. \def\foothead{Anmerkungen\else Footnotes}
  456. \def\prfhead{Beweis\else Proof}
  457. \endttlines
  458. %***  end of file PMANFONT  ***
  459. % \input pmanpage   % page numbers
  460. %***  this is file PMANPAGE as of 07.03.86  ***
  461. \chap{Page Numbers, Head- and Footlines}
  462. \sect{Page Numbers}
  463. ^^{page numbers}
  464. If you use ^|\pageall| (default) the pages are numbered throughout
  465. the paper, starting with `1' for the ^{title page}.
  466. If you use ^|\pagechap| the title page is page~0 and the pages are
  467. numbered separately for each chapter, appendix, the figure captions,
  468. the table captions, the list of references, the table of contents
  469. and (if applicable) the footnotes, with the number of the chapter or
  470. similar as prefix.
  471. The page number of the title page will never be printed and with
  472. |\pagechap| the same is true for the first page of figure captions,
  473. table captions etc.
  474. You can use\lb
  475. ^|\toppagenum| to get page numbers on top of each page,\lb
  476. ^|\botpagenum| (default) to get page numbers at the bottom of each page
  477. or\lb
  478. ^|\nopagenum| to supress the printing of page numbers.
  479. \sect{Head- and Footlines}
  480. ^^{headlines}^^{footlines}
  481. Independently from the page numbers there may be running head- and
  482. footlines.
  483. You can specify specify a left head line text with
  484. ^|\lheadtext||={|\dots|}| and similarly a right head line text
  485. (^|\rheadtext|) and a ^|\cheadtext| as well as foot line texts
  486. (^|\lfoottext|, ^|\rfoottext| and ^|\cfoottext|).
  487. All these texts are initially empty.
  488. If you choose the option ^|\centhead| (default) the headline
  489. will contain the |\lheadtext| in the left corner, the |\rheadtext|
  490. in the right corner and a page number or blank in the center.
  491. With the option ^|\righthead| the |\rheadtext| is centered,
  492. the ^|\cheadtext| in the left corner and a page number will be in
  493. the right corner; with the option ^|\lefthead| you get the same
  494. with left and right exchanged.
  495. With the option ^|\althead| you get alternatingly the result from
  496. |\righthead| on the odd numbered (right) pages and from |\lefthead|
  497. on the even numbered (left) pages.
  498. The options ^|\centfoot| (default), ^|\rightfoot|, ^|\leftfoot| and
  499. ^|\altfoot| will do the same for the footlines.
  500. You can use the command ^|\skippagenum||=T| to suppress the printing
  501. of a page number on the current page.
  502. Similarly ^|\skipheadline||=T| and ^|\skipfootline||=T| will suppress
  503. the printing of the entire headline and footline.
  504. All three commands are used automatically on the title page and all
  505. three switches are automatically reset to `|F|' when a new page is
  506. started.
  507. You should, however, be careful where to put these commands because
  508. {\TeX} may have different ideas about what is the current page than
  509. you do (see chapter~15: How {\TeX} Makes Lines into Pages in the
  510. {\TeX}book for details).
  511. \sect{Portrait and Landscape Format}
  512. {\TeX} usually produces output in `portrait' format (|\vsize| is larger
  513. than |\hsize|).
  514. Some times you may want to use `landscape' format, i.e.\ for large
  515. tables.
  516. You can use the commands ^|\portrait| (default) and ^|\landscape| to
  517. switch between portrait and landscape format.
  518. If such a switch occurs any partial page accumulated so far will be
  519. terminated and then the values for |\hsize| and |\vsize| will be
  520. interchanged and adjusted for the presence of head- and footlines.
  521. It is, therefore, \underbar{not} possible to use a |\pageinsert| in
  522. landscape format while processing a page in portrait format.
  523. \subsec{Warning:}Some output devices may not be able to handle
  524. landscape format properly or they may not be able to handle a
  525. mixture of both formats.
  526. %***  end of file PMANPAGE  ***
  527. % \input pmantitl   % the title page
  528. %***  this is file PMANTITL as of 07.03.86  ***
  529. \chap{The Title Page}
  530. There are several macros to facilitate the production of a ^{title
  531. page}.
  532. These macros provide vertical spacing which should normally give a
  533. reasonable layout.
  534. You should use ^|\titlepage| (default) or ^|\notitlepage| if the title
  535. of the paper, the name(s) and address(es) of author(s) and possibly
  536. the abstract do or don't appear on a separate page which is
  537. terminated with |\endpage|.
  538. You can use ^|\topleft| and ^|\topright| as often as needed to
  539. collect information to appear on the top left and top right corners
  540. of the title page.
  541. This information is stored in boxes and is printed with the (first)
  542. use of ^|\title|.
  543. The command ^|\submit||{...}| uses topleft to produce the two
  544. lines `Submitted~to' and `\dots' in the top left corner,\lb
  545. ^|\mppnum||{...}| is equivalent to |\topright{MPI--PAE/...}|,
  546. \lb and ^|\pubdate| is a synonym for |\topright|.
  547. You can use ^|\title||{...}| to print (the first line of) the title
  548. of the paper and ^|\titcon||{...}| for continuation lines.
  549. The command ^|\author||{...}| will print one or more lines with
  550. authors, ^|\\| indicates the start of a new line,
  551. ^|\autcon||{...}| will print `and' or `und' and more authors.
  552. You can use the commands |\author|, |\autcon| and
  553. |\address| as often as required.
  554. Any of the above macros may use ^|\foot| or ^|\footnote|,
  555. but you should surround the footnote with
  556. |{|^|\rm|~|...}|, otherwise the footnote will be printed in the
  557. current font.
  558. The command ^|\address||{...}| prints the address of the
  559. institution with one or more lines which are again separated by ^|\\|.
  560. The command ^|\mppaddress| prints the address of the
  561. Max-Planck-Institut f\"ur Physik.
  562. The command ^|\abstract||{...}| prints the english heading
  563. `^{Abstract}' or the german one `^{Zusammenfassung}' and the text of
  564. the abstract which may consist of several paragraphs.
  565. Finally we want to mention one command which does not belong to the
  566. title page: ^|\ack| prints the heading `^{Acknowledgements}' or
  567. `^{Danksagung}'.
  568. The title page of this manual is produced by the following
  569. sequence of commands:
  570. %***  the following lines are copied from PMANTITP  ***
  571. \beginttlines
  572. \submit{Journal ???}
  573. \mppnum{PTh xx/86}
  574. \topright{Version 1.0}
  575. \pubdate{March 1986}
  576. \title{The PHYS-{\TeX} Manual}
  577. \titcon{How to use the {\TeX} formats PHYSE and PHYS
  578. \rm\footnote
  579. *{This output is produced from the file PMANUAL TEX.
  580. Here you could add things like the phrase: Talk given at {\dots} or
  581. similar.}}
  582. \author{P. Breitenlohner\\A. Kabelschacht}
  583. \mppaddress
  584. \autcon{R.J. Drofnats}
  585. \address{Dept.~of Farm Ecology, The University of St.~Anford\\%
  586. P.O.Box 1009, Haga Alto, CA 94321 (USA)}
  587. \abstract{This manual describes ...
  588. .... can be generated.}
  589. \endpage
  590. \endttlines
  591. %***  end of file PMANTITL  ***
  592. % \input pmanchap   % structuring the text
  593. %***  this is file PMANCHAP as of 10.03.86  ***
  594. \chap{Structuring the Text}
  595. \sect{Chapters and Sections}
  596. You can use ^|\chap| to start a new ^{chapter} and ^|\appendix|
  597. to start a new ^{appendix}.
  598. Chapters and appendices will be numbered automatically, starting with
  599. `1' resp.\ `A'\null.
  600. Chapters and appendices can appear in any order but this may be of
  601. little use unless you choose the option ^|\pagechap|.
  602. The text before the first chapter or appendix is treated as chapter~0.
  603. At the begin of your input you should use the command ^|\chapters|
  604. (default) or ^|\nochapters| if your paper does or does not contain
  605. chapters.
  606. If you choose |\chapters| the chapter number will appear as
  607. prefix in section numbers and possibly (depending on other options)
  608. in page numbers, equation numbers, etc.
  609. If you choose |\nochapters| this prefix will be omitted.
  610. In this case you can not use |\chap| to start a new chapter.
  611. You can use ^|\arabicchapnum| (default) or ^|\romanchapnum| to get
  612. arabic chapter numbers or (uppercase) roman numerals resp., both in
  613. the chapter titles and in the prefix of e.g.\ ^{equation numbers}.
  614. Whithin a chapter, but not within an appendix, you may use
  615. ^|\sect| to start a ^{section}.
  616. They will again be numbered, starting with `1', and the text before
  617. the first section within a chapter will be treated as section~0.
  618. You can use ^|\chappage| or ^|\nochappage| (default) to indicate that
  619. each chapter and appendix should or should not start on a new page.
  620. {\TeX} will try not to begin a chapter or section to low at a page,
  621. it will rather leave blank space and start with the chapter or
  622. section title on a new page.
  623. This mechanism is governed by the parameters\lb
  624. ^|\chapstretch| (default `2.5 cm'),\lb
  625. ^|\chappenalty| (default `-800'),\lb
  626. ^|\sectstretch| (default `2 cm') and\lb
  627. ^|\sectpenalty| (default `-400')\lb
  628. and has the additional advantage that a minor change in the
  629. text will quite often lead to identical page breaks after a few
  630. pages which have changed.
  631. Depending on the choice of other options ^|\chap|, ^|\sect| and
  632. ^|\appendix| may influence the numbering of pages, equations,
  633. figures and tables.
  634. Within a section or an appendix you can use ^|\secs| to start a
  635. numbered subsection and so on down to ^^|\secss| ^|\secsss| for
  636. sub-sub-subsections.
  637. All four commands used to generate numbered (sub-)sections will
  638. generate the (sub-)section numbers automatically.
  639. You can, however, specify your own numbers by using e.g.\lb
  640. |\sect|^\<number>|{|\<title>|}|
  641. In addition you can use ^|\subsec| to generate an unnumbered
  642. subsection.
  643. You can use |\subsec| everywhere in your text, in appendices as well
  644. as in chapters.
  645. \subsec{Examples:}The present chapter was started with the commands\lb
  646. |\chap{Structuring the Text}|\lb
  647. |\sect{Chapters and sections}|\lb
  648. If you need a continuation line for the chapter title use\lb
  649. |\titcon{continuation of the title}|\lb
  650. as often as needed.
  651. The titles for (sub-)sections will automatically occupy as many
  652. lines as needed.
  653. The unnumbered subsection with these examples starts with\lb
  654. |\subsec{Examples:}The|\dots\foot{The lack of space between `|}|'
  655. and `|The|' in this and similar constructions is significant!}\lb
  656. If you want to start an appendix
  657. you can either use |\appendix| for an appendix without a title
  658. or |\appendix{Title}| for an appendix with a title.
  659. In the former case the text of the appendix must not start with
  660. an explicit or implicit
  661. `|{|' (you could e.g.\ start the text of the appendix with |\relax|
  662. which instructs {\TeX} to `do nothing').
  663. You can use ^|\app||{|\dots|}| to start an unnumbered appendix.
  664. This command will just print the heading `Appendix \dots' (using
  665. ^|\headstyle|) but will not influence the numbering of equations
  666. or similar.
  667. \sect{Items and Points} ^^{item}^^{point}
  668. There is another quite different way to structure the text.
  669. You may want to list several important points and either number them
  670. or mark them by a symbol.
  671. There are three levels to do that: ^|\item|s are indented 2.5 em,
  672. ^|\sitem|s (subitems) are indented 4.5 em and
  673. ^|\ssitems|s (sub-subitems) are indented 6.5 em (an `em' is the width
  674. of a `quad' in the current font).
  675. Each item, sitem or ssitem ends with the end of
  676. the paragraph (^|\par| or a ^{blank line}).
  677. \item{x}This item was started with |\item{x}This|\dots\lb
  678. You could also use\lb
  679. ^|\bullitem|~|This|\dots or ^|\staritem|~|This|\dots or
  680. ^|\dashitem|~|This|\dots\lb
  681. to get an item marked by `$\bullet$', `$\ast$' or `---' instead of the
  682. `x'.\lb
  683. Similarly there are ^|\sbullitem|, ^|\sstaritem| and ^|\sdashitem| for
  684. sitems as well as ^|\ssbullitem|, ^|\ssstaritem| and ^|\ssdashitem|
  685. for ssitems.
  686. \sitem{y}This sitem was started with |\sitem{y}This|\dots\lb
  687. and this works just the same way for ssitems:
  688. \ssitem{z}This is a sub-subitem.
  689. \itemcon We now want to continue the item with a new paragraph and in
  690. order to do so we had to start the present paragraph with
  691. ^|\itemcon|~|We|\dots\lb
  692. For sitem use the analogous command ^|\sitemcon| and for
  693. ssitem you can use ^|\ssitemcon|.
  694. \noindent
  695. A ^{point} is an item which is numbered automatically and similarly
  696. for an spoint and an sspoint.
  697. \pointbegin This is the first point of a list and was therefore
  698. started with\lb
  699. ^|\pointbegin|~|This|\dots\lb
  700. in order to initialize the numbering.
  701. \point This is the next point which was started with the command\lb
  702. ^|\point|~|This|\dots\lb
  703. You can add another paragraph to a point by using either
  704. ^|\pointcon| or ^|\itemcon|.
  705. The commands ^|\spointbegin|, ^|\spoint| and ^|\spointcon|
  706. are used to generate spoint,
  707. the commands ^|\sspointbegin|, ^|\sspoint| and ^|\sspointcon|
  708. are used to generate sspoints,
  709. they work in exactly the same way but differ in the numbering
  710. and in the amount of indentation.
  711. \spointbegin The first spoint of a list
  712. \spoint The second spoint of the list
  713. \sspointbegin The first sspoint of a list
  714. \sspoint The second sspoint of the list
  715. \noindent An spoint may but need not appear within a point.
  716. In order to have no paragraph indentation, this paragraph was started
  717. with ^|\noindent| which is a good idea after a list of
  718. items or points.
  719. In fact ((sub-)sub)items, ((sub-)sub)points etc.\ are just special
  720. cases of a more general construction ^|\varitem| with the syntax\lb
  721. |\varitem|\<box~specification>|{|\<item~label>|}|\lb
  722. where the optional \<box~specification> can be either\lb
  723. ^|to|~\<dimension> or ^|spread|~\<dimension>\lb
  724.  just as for any |\hbox|.
  725. The \<item~label> will be put into an |\hbox| using the
  726. \<box~specification> (if any) and the rest of
  727. the paragraph will be indented by the width of this |\hbox|.
  728. An |\item| (or |\point|) is a |\varitem| with the \<box~specification>
  729. |to|~|2.5em|, |\sitem| uses |to|~|4.5em| and |\ssitem| uses
  730. |to|~|6.5em|.
  731. You can start a new paragraph but keep the indentation with
  732. either one of the commands ^|\hvskip|\<glue> or ^|\parvskip|\<glue>,
  733. e.g.\ with |\hvskip\parskip| if you want the normal spacing between
  734. paragraphs.
  735. These two commands are almost identical, the difference will
  736. matter to {\TeX}perts only.
  737. If you use the command ^|\bpargroup| inside a paragraph or item all
  738. subsequent local definitions (e.g.\ changes of fonts or spacing)
  739. will be effective only until the next ^|\par| or ^{blank line}.
  740. \sect{Code Names}
  741. Very often you will use numbers for equations, figures, tables,
  742. references, chapters, sections and so on which are generated
  743. automatically by {\TeX}.
  744. If you want to refer later on to these numbers you can choose a
  745. ^{code name} for e.g.\ an equation number and refer to this code
  746. name.
  747. This has the advantage that the value assigned to such a code name
  748. changes automatically if the equation number changes due to some
  749. modifications of your manuscript.
  750. These code names are ordinary {\TeX} control sequence names and
  751. you should be careful not to use any code name which is the name
  752. of a {\TeX} command (either a primitive command such as |\input| or a
  753. command defined in the PLAIN format such as |\line| or a
  754. command defined in PHYS such as |\eqtag|).
  755. Contrary to the usual {\TeX} rules such code names may contain
  756. not only (upper and lower case) letters but digits and apostrophes
  757. as well.
  758. If you use this possibility such code names must not occur except
  759. as argument to an appropriate command (e.g.\ ^|\quote| or ^|\queq| or
  760. ^|\quref|).
  761. Most of the commands which define code names will be discussed in
  762. subsequent chapters of this manual.
  763. At this point we just want to mention two of them.
  764. The command ^|\label|\<code~name> will, in most cases, define the code
  765. name such that its value is the (full) number of the most recent
  766. chapter, appendix, (sub-)section or (sub-)point.
  767. If we use, at this point, the command |\label\here| \label\here
  768. then `|\quote{\here}|' will yield `\quote{\here}' because this is
  769. \def\next#1.#2.{section~#2 in chapter~#1}%
  770. \expandafter\next\here. and no subsection or (sub-)point was used
  771. in this section.
  772. The command ^|\pagelabel|\<code~name> will define the code name such
  773. that it yields the page number of the current page.
  774. This is, however, a somewhat delayed action.
  775. The code name will not be properly defined until after {\TeX} has
  776. decided where to finish the current page.
  777. Any use of the code name before that point must be considered as a
  778. ^{forward reference}.
  779. %***  end of file PMANCHAP  ***
  780. % \input pmanequ    % equations
  781. %***  this is file PMANEQU as of 10.03.86  ***
  782. \chap{Equations}
  783. \sect{Equation Numbers}
  784. You should use ^|\eqtag| instead of PLAIN's ^|\eqno| or ^|\leqno| to
  785. generate ^{equation numbers}.
  786. Similarly you should use ^|\eqaligntag| instead of PLAIN's
  787. ^|\eqalignno| or ^|\leqalignno|.
  788. The commands ^|\equleft| or ^|\equright| (default) will then
  789. automatically put all equation numbers to the left or right of the
  790. equations.
  791. There is a third option ^|\equnone| which inhibits the printing of
  792. all equation numbers.
  793. This may be useful to prepare slides with equations.
  794. You may choose to have your equations numbered automatically
  795. by {\TeX}; to do so use the following equation number macros.
  796. You can use ^|\equall|, ^|\equchap| (default) or
  797. ^|\equsect| to indicate that the equations should be
  798. numbered throughout the paper, separately for each
  799. chapter and appendix or separately for each section and appendix.
  800. In case you choose |\equchap| or |\equsect| the numbers
  801. will have an appropriate prefix.
  802. Whenever you want to generate an equation number you can use
  803. ^|\eq|, e.g.\ in |\eqaligntag{|\dots|&\eq\cr|\dots|}| or
  804. |$$|\dots|\eqtag\eq$$|.
  805. Sometimes you may want to generate equation numbers e.g.\ \queq{5},
  806. \queq{5a}, \queq{5b}, \dots, \queq{6}.
  807. To do so you may use |\eq|, ^|\subeqbegin|, ^|\subeq|, \dots, |\eq|.
  808. If you want to generate instead the equation numbers \queq{5},
  809. \queq{6a}, \queq{6b}, \dots, \queq{7} you should use |\eq|, ^|\eqadv|
  810. (\underbar{adv}ance the \underbar{eq}uation number by 1),
  811. |\subeqbegin|, |\subeq|, \dots, |\eq|.
  812. If you want to refer to the number of an equation in the text
  813. you should use\lb
  814. ^|\EQ|\<code~name> instead of |\eq|,\lb
  815. ^|\EQADV|\<code~name> instead of |\eqadv|,\lb
  816. ^|\SUBEQBEGIN|\<code~name> instead of |\subeqbegin| and\lb
  817. ^|\SUBEQ|\<code~name> instead of |\subeq|.\lb
  818. The \<code~name> will then be defined to
  819. represent the equation number (|\EQ| and |\EQADV|)
  820. or the suffix, e.g.\ $a$ or $b$ (|\SUBEQBEGIN| and |\SUBEQ|).\lb
  821. Assuming you have chosen the option |\eqsect|, the $5^{\rm th}$
  822. equation of section~2 in chapter~3 will get the tag
  823. `\queq{3.2.5}'.
  824. The \<code~name> will then evaluate to `5' in section~2
  825. of chapter~3, to `2.5' in all other sections of chapter~3,
  826. and to `3.2.5' outside of chapter~3.
  827. You may always enforce the short form `5' by using
  828. ^|\shorttag|\<code~name> or the long form `3.2.5' by using
  829. ^|\fulltag|\<code~name>.
  830. You may refer to one or more equations by using ^|\queq|
  831. (\underbar{qu}ote \underbar{eq}uation), e.g.\lb
  832. |\queq{|\<code~name>|}| might evaluate to `\queq{3.2.5}',\lb
  833. |\queq{|\<code~name>|,\fulltag|\<code~name>|}| to
  834. `\queq{3.2.5,4.1.7}' and\lb
  835. |\queq{|\<code~name>|-\shorttag|\<code~name>|}| to `\queq{3.2.5-7}'.\lb
  836. The command |\queq| puts the equation numbers into an
  837. |\hbox|, therefore there will never be a line break between them.
  838. There are in fact two options available:
  839. If you specify |\equshort| (default) then |\queq{|\dots|}|
  840. will give you abbreviated equation numbers as described above and
  841. demonstrated in the examples below.
  842. If you specify |\equfull| then |\queq{|\dots|}| will give
  843. you the full equation numbers.
  844. In either case an explicit |\fulltag| or |\shorttag| in the
  845. argument of |\queq| takes precedence over these options.
  846. Sometimes you will want to not only quote the equation
  847. number(s) but to have `eq.\vspace' or `eqs.\vspace' or the
  848. german equivalent in front of the equation number(s).
  849. The commands ^|\qeq||{|\dots|}| and ^|\qeqs||{|\dots|}| will just do
  850. that for you.
  851. Assume you have used the command \dots|\EQ\eqname|\dots
  852. to generate the equation number `\queq{3.2.5}'.
  853. Somewhat later in the text you might want to use the number
  854. `\queq{3.2.5'}' for a modified version of that equation.
  855. For this purpose you can use the command |\eqapp\eqname '|
  856. (\underbar{app}end to \underbar{eq}uation number).
  857. You can use the abbreviations\lb
  858. ^|\eqn| instead of |\eqtag\eq|,\lb
  859. ^|\EQN| instead of |\eqtag\EQ|,\lb
  860. ^|\subeqnbegin| instead of |\eqtag\subeqbegin|,\lb
  861. ^|\SUBEQNBEGIN| instead of |\eqtag\SUBEQBEGIN|,\lb
  862. ^|\subeqn| instead of |\eqtag\subeq|,\lb
  863. ^|\SUBEQN| instead of|\eqtag\SUBEQ| and\lb
  864. ^|\eqnapp| instead of |\eqtag\eqapp|.
  865. \subsec{Examples:}We will now use
  866. \begintt
  867. $$a=b+c-d\qquad\hbox{this is equation `Eq1'}\EQN\Eq1$$
  868. \endtt
  869. to produce:
  870. $$a=b+c-d\qquad\hbox{this is equation `Eq1'}\EQN\Eq1$$
  871. and use `|\qeq{\Eq1}|' to refer to equation `|\Eq1|' as
  872. `\qeq{\Eq1}'.
  873. \sect{More Examples:}
  874. Being in a new section we can again use `|\qeq{\Eq1}|' to refer
  875. to equation `|\Eq1|' as `\qeq{\Eq1}', but the result is
  876. different.
  877. The input
  878. \beginlines
  879. \dots|$${\cal A}=7\EQN\eqa$$|
  880. \dots|$$\eqaligntag{A_1&=5&\SUBEQBEGIN\eqaa\cr|
  881. |A_2&=12&\SUBEQ\eqab\cr}$$|
  882. \dots|$$C_1=3\EQADV\eqb\SUBEQNBEGIN\eqba$$|
  883. \dots|$$C_2=-21\SUBEQN\eqbb$$|
  884. \dots|$${\cal A}=-7\eqnapp\eqa '$$|\dots
  885. |Eqs.~\queq{\fulltag\eqa-\shorttag\eqb}|\dots
  886. |\qeqs{\eqb\eqba,\eqa '}|\dots
  887. \endlines
  888. yields:\lb
  889. \dots$${\cal A}=7\EQN\eqa$$
  890. \dots$$\eqaligntag{A_1&=5&\SUBEQBEGIN\eqaa\cr
  891. A_2&=12&\SUBEQ\eqab\cr}$$
  892. \dots$$C_1=3\EQADV\eqb\SUBEQNBEGIN\eqba$$
  893. \dots$$C_2=-21\SUBEQN\eqbb$$
  894. \dots$${\cal A}=-7\eqnapp\eqa '$$\dots
  895. Eqs.~\queq{\fulltag\eqa-\shorttag\eqb} \dots
  896. \qeqs{\eqb\eqba,\eqa '} \dots
  897. %***  end of file PMANEQU  ***
  898. % \input pmanfgtb   % figures and tables
  899. %***  this is file PMANFGTB as of 10.03.86  ***
  900. \chap{Figures and Tables}
  901. \sect{Storage Management} ^^{storage management}
  902. The text of ^{figure captions}, ^{table captions}, ^{references},
  903. the ^{table of contents} and (possibly) ^{footnotes} are collected
  904. during the execution and stored for later printing.
  905. If you specify the command ^|\storebox|, ^|\storelist| (default)
  906. or ^|\storefile| these texts will be stored in boxes,
  907. as lists of macro definitions or on external files (sysut1--sysut7).
  908. Each of these methods has its advantages and disadvantages.
  909. \pointbegin |\storebox|: This is the fastest method but it also uses
  910. the largest amount of storage because all macros are expanded before
  911. the text is stored.
  912. Moreover the command |\save| will not be able to write these texts
  913. to an external file for later |\restore|.
  914. \point |\storelist|: This method is slightly slower but needs less
  915. storage (macros are not expanded until the texts are finally printed).
  916. \point |\storefile|: This is the slowest method but it avoids all
  917. storage problem because the texts are stored on external files and are
  918. reread only when they are printed.
  919. \sect{Figure Captions}
  920. The following figure caption macros allow you to automatically
  921. number the figures, collect a list of ^{figure captions}
  922. and print this list.
  923. If you use ^|\figall| (default) the figures are numbered
  924. throughout the paper,
  925. if you use ^|\figchap| they are numbered separately for
  926. each chapter and appendix, with the number of the chapter or
  927. the letter of the appendix as prefix,
  928. if you use ^|\figsect| they are numbered separately for
  929. each section and appendix, with the the chapter and section number or
  930. the letter of the appendix as prefix.
  931. If you use ^|\figpage| (default) the list of figure captions
  932. (if any) will be printed on one or several separate pages.
  933. If you use ^|\nofigpage| the list will appear on separate
  934. pages only if you choose ^|\pagechap|.
  935. If you use ^|\fig||{|\<caption>|}| a number will be assigned to the
  936. figure and the \<caption> will be saved for the list of figure
  937. captions.
  938. If you want to assign your own label to a figure, i.e.\ just
  939. want to save the figure caption for later printing, use
  940. |\fig|^\<label>|{|\<caption>|}|.
  941. The label must not contain any explicit braces (|{| or |}|).
  942. It must contain the entire number for the figure (including
  943. any chapter number as prefix) and could e.g.\ be a figure
  944. number defined previously (with |\FIG|) with a suffix (a, b, \dots).
  945. You can save a figure caption for the list of captions and at the
  946. same time generate the description of the figure in the text.
  947. Just use ^|\ffig| instead of |\fig|.
  948. If you want to refer to a figure in the text you should use\lb
  949. ^|\FIG|\<code~name> instead of |\fig| or\lb
  950. ^|\FFIG|\<code~name> instead of |\ffig|.\lb
  951. You can then refer to figures e.g.\ by
  952. ^|\qufig||{|\<code~name>|}|,\lb
  953. |\qufig{|\<code~name>|,|\<code~name>|}|
  954. or |\qufig{|\<code~name>|-|\<code~name>|}|\lb
  955. which might evaluate to
  956. \begingroup % for local def's
  957.   \def\name{5}
  958.   `\qufig{\name}',
  959.   \def\name{3.1} \def\namea{4.2} \german
  960.   `\qufig{\name,\namea}' or
  961.   \def\name{9} \def\namea{11} \english
  962.   `\qufig{\name-\namea}'.
  963. \endgroup % for local def's
  964. The command ^|\figadd||{...}| can be used to add an ordinary
  965. paragraph of text to the list of figure captions.
  966. Such paragraphs can occur before the first caption, between captions
  967. or after the last caption.
  968. You can use ^|\figout| to print a list of all
  969. figure captions collected so far (if any).
  970. This will at the same time empty the list.
  971. If you want a separate list of figure captions for each chapter
  972. just use the command |\figout| at the end of each chapter.
  973. The command ^|\figkill| discards all figure captions collected so far;
  974. this may be helpful to avoid storage problems.
  975. \sect{Figures and Plots} ^^{figures}
  976. The command ^|\frame||{|\<width>|}{|\<heigth>|}{|\<depth>|}| produces
  977. an |\hbox| containing a box of the given dimensions which is empty
  978. except for rules just inside the box boundaries.
  979. Both \<width> and \<height>+\<depth> must be positive but either
  980. \<height>
  981. or \<depth> could be negative.
  982. Note, however, that the surrounding box (as any |\hbox|) will have
  983. nonnegative height and depth!
  984. In the following we will illustrate how such a frame box or any other
  985. box (e.g.\ a |\table|), possibly together with a description, can be
  986. placed in the text or as an insertion.
  987. First we want to demonstrate how frame boxes will appear in
  988. the middle of a line:
  989. e.g.\ |\frame{1cm}{1cm}{-.5cm}| \frame{1cm}{1cm}{-.5cm} or
  990. |\frame{2cm}{-1mm}{6mm}| \frame{2cm}{-1mm}{6mm} or
  991. |\frame{1cm}{5mm}{5mm}| \frame{1cm}{5mm}{5mm} and so on.
  992. \def\marginbox#1{\par\begingroup \count255=#1\relax
  993.   \dimen0=\ht\count255 \advance\dimen0\dp\count255
  994.   \dimen2\dimen0 \advance\dimen2\parskip
  995.   \skip0=0pt plus\dimen2 \vskip\skip0 \penalty-110 \vskip-\skip0
  996.   \strut \vadjust{\kern-\dp\strutbox \vtop to\dp\strutbox
  997.     {\kern-\ht\strutbox \baselineskip\dp\strutbox
  998.     \rtline{\copy\count255}\vss\null}}%
  999.   \dimen2.5em\advance\dimen2\wd\count255
  1000.   \count255=0 \loop \ifdim\dimen0>0pt\advance\count255-1
  1001.   \advance\dimen0-\baselineskip \repeat
  1002.   \edef\next{\endgroup \hangafter\the\count255
  1003.     \hangindent-\the\dimen2}\next}
  1004. \setbox0\frame{3cm}{3cm}{0cm}  ^^|\marginbox|
  1005. \marginbox{0}At the begin of a paragraph you can leave room
  1006. for a box on the right side by using ^|\hangindent| and ^|\hangafter|.
  1007. In the present example the values for these commands have been
  1008. computed from the dimensions of the box.
  1009. In addition we made sure that there will be no page break
  1010. between the first lines of the paragraph with the hanging
  1011. indentation.
  1012. This paragraph was started with the commands
  1013. \begintt
  1014. \setbox0\frame{3cm}{3cm}{0cm}
  1015. \marginbox{0}At the begin ...
  1016. \endtt
  1017. and the macro definition
  1018. \beginttlines
  1019. \def\marginbox#1{\par\begingroup \count255=#1\relax
  1020.   \dimen0=\ht\count255 \advance\dimen0\dp\count255
  1021.   \dimen2\dimen0 \advance\dimen2\parskip
  1022.   \skip0=0pt plus\dimen2 \vskip\skip0 \penalty-110 \vskip-\skip0
  1023.   \strut \vadjust{\kern-\dp\strutbox \vtop to\dp\strutbox
  1024.     {\kern-\ht\strutbox \baselineskip\dp\strutbox
  1025.     \rtline{\copy\count255}\vss\null}}%
  1026.   \dimen2.5em\advance\dimen2\wd\count255
  1027.   \count255=0 \loop \ifdim\dimen0>0pt\advance\count255-1
  1028.   \advance\dimen0-\baselineskip \repeat
  1029.   \edef\next{\endgroup \hangafter\the\count255
  1030.     \hangindent-\the\dimen2}\next}
  1031. \endttlines
  1032. \noindent With slight modifications in the definition of
  1033. |\marginbox| the paragraph could start without the usual paragraph
  1034. indentation (|\noindent|) or the hanging indentation could be on the
  1035. left side (|\hangindent>0|).
  1036. \def\stepbox#1{\begingroup\count255=#1\relax
  1037.   \dimen0\ht\count255 \advance\dimen0-\ht\strutbox
  1038.   \lower\dimen0\copy\count255
  1039.   \dimen0\ht\count255 \advance\dimen0\dp\count255
  1040.   \advance\dimen0\lineskip
  1041.   \vadjust{\nobreak \vskip-\dimen0}\allowbreak
  1042.   \dimen0\hsize \advance\dimen0-\leftskip
  1043.   \advance\dimen0-\rightskip \advance\dimen0-\wd\count255
  1044.   \dimen4\ht\count255 \dimen6\dp\count255 \dimen8\wd\count255
  1045.   \setbox0\null \ht0\dimen4 \dp0\dimen6 \wd0\dimen8
  1046.   \advance\dimen6-\dp\strutbox
  1047.   \count255=0 \dimen2=0pt \loop \advance\count255 1
  1048.     \ifdim\dimen2<\dimen0
  1049.     \advance\dimen2 .25em\repeat \divide\dimen0\count255
  1050.   \loop\ifnum\count255>0 \advance\count255-1 \vadjust{}\kern\dimen0
  1051.     \allowbreak \repeat
  1052.   \raise\dimen6\box0 \endgroup}
  1053. \setbox0\hbox{$\mat{a&b\cr c&d\cr}$}
  1054. \setbox2\frame{2cm}{15mm}{0pt} ^^|\stepbox|
  1055. Finally, as the most complicated example to place boxes in a paragraph,
  1056. we have a matrix \stepbox{0} and a framebox \stepbox{2} placed such
  1057. that their top matches the text to their left and their bottom
  1058. matches the text to their right.
  1059. \edef\next{\the\prevgraf}The method used to achieve this effect is
  1060. somewhat devious and not entirely satisfactory, but it is the best we
  1061. could think of.
  1062. The previous paragraph actually consists of {\next} lines and there is
  1063. a slight chance that there is an undesirable page break.
  1064. We have used the commands
  1065. \begintt
  1066. \setbox0\hbox{$\mat{a&b\cr c&d\cr}$}
  1067. \setbox2\frame{2cm}{15mm}{0pt}
  1068. .... matrix \stepbox{0} and a framebox \stepbox{2} placed ...
  1069. \endtt
  1070. together with the macro definition
  1071. \beginttlines
  1072. \def\stepbox#1{\begingroup\count255=#1\relax
  1073.   \dimen0\ht\count255 \advance\dimen0-\ht\strutbox
  1074.   \lower\dimen0\copy\count255
  1075.   \dimen0\ht\count255 \advance\dimen0\dp\count255
  1076.   \advance\dimen0\lineskip
  1077.   \vadjust{\nobreak \vskip-\dimen0}\allowbreak
  1078.   \dimen0\hsize \advance\dimen0-\leftskip
  1079.   \advance\dimen0-\rightskip \advance\dimen0-\wd\count255
  1080.   \dimen4\ht\count255 \dimen6\dp\count255 \dimen8\wd\count255
  1081.   \setbox0\null \ht0\dimen4 \dp0\dimen6 \wd0\dimen8
  1082.   \advance\dimen6-\dp\strutbox
  1083.   \count255=0 \dimen2=0pt \loop \advance\count255 1
  1084.     \ifdim\dimen2<\dimen0
  1085.     \advance\dimen2 .25em\repeat \divide\dimen0\count255
  1086.   \loop\ifnum\count255>0 \advance\count255-1 \vadjust{}\kern\dimen0
  1087.     \allowbreak \repeat
  1088.   \raise\dimen6\box0 \endgroup}
  1089. \endttlines
  1090. On our installation there exists the possibility to combine {\TeX}
  1091. output
  1092. with ^{plots}.
  1093. If you specify the option ^|\graphics| the command\lb
  1094. ^|\graphic||{|\<plot
  1095. specification>|}{|\<width>|}{|\<heigth>|}{|\<depth>|}|\lb
  1096. produces an invisible plot box and uses ^|\special| commands in order to
  1097. transfer the \<plot specification> together with the coordinates to the
  1098. DVI-file.
  1099. Lateron when the DVI-file is prepared for printing on a suitable device
  1100. a plot from a (GKS) plot metafile will be inserted.
  1101. If you specify the option ^|\nographics| (default) the command
  1102. |\graphic|
  1103. will produce a frame box of exactly the same dimensions as the plot box
  1104. and write a note to the LOG-file.
  1105. \midinsert \advance\leftskip by 2.5 cm
  1106. \advance\rightskip by 2.5 cm
  1107. \ctrline{\frame{10cm}{5cm}{0cm}}
  1108. \FFIG\figr1{Demonstration of how to leave 5 cm of blank space for
  1109. a figure and to generate a figure caption} \endinsert
  1110. \subsec{Example:}Immediately before this unnumbered subsection
  1111. we have used the commands
  1112. \begintt
  1113. \midinsert \advance\leftskip by 2.5 cm
  1114. \advance\rightskip by 2.5 cm
  1115. \ctrline{\frame{10cm}{5cm}{0cm}}
  1116. \FFIG\figr1{Demonstration of how to leave 5 cm of blank space for
  1117. a figure and to generate a figure caption} \endinsert
  1118. \endtt
  1119. to leave blank space for a figure and generate the caption.
  1120. We can now refer to this figure as `\qufig{\figr1}' by using
  1121. the command `|\qufig{\figr1}|'.
  1122. Another set of commands reserves blank space for pictures
  1123. and allows for a more elaborate description below them, but
  1124. will not produce entries for the list of figure captions.
  1125. If you want such entries you have to combine these commands
  1126. with |\fig| or |\FIG|.
  1127. The command\lb
  1128. |\pict{|\<dimension>|}| or ^|\pict|^\<label>|{|\<dimension>|}|\lb
  1129. will reserve a blank space of vertical dimension
  1130. \<dimension> for a picture, followed by a description
  1131. (actually a ^|\varitem|).
  1132. If the \<label> is omitted {\TeX} will assign a figure number,
  1133. otherwise the \<label> will be used.
  1134. You can use ^|\PICT|\<code~name> instead of |\pict| if you want
  1135. to refer to the figure number lateron.
  1136. The description may start with a part relevant for the whole
  1137. picture.
  1138. This may be followed by one or several commands
  1139. ^|\spict||{|^\<slabel>|}| and the description of some part of
  1140. the picture labelled \<slabel>.
  1141. The entire description will terminate with the next ^|\par|
  1142. or ^{blank line}.
  1143. You may, however, use ^|\parvskip||\parskip| to divide the description
  1144. itself into several paragraphs.
  1145. \pageinsert\singlespace\centerline{An inserted page\strut}\hrule
  1146. \strut First we give an example where |\PICT| is used without
  1147. a \<label> (automatic numbering).
  1148. The sequence of commands
  1149. \beginttlines
  1150. \PICT\figr2{1cm} First we have a description for the whole
  1151. picture. The descriptions for its parts could, of course, be
  1152. omitted.
  1153. \spict{(a)} This is the description for part (a) if the picture.
  1154. It is indented somewhat more to leave room for the sub-label.
  1155. \spict{(b)} Here is the description for another part.
  1156. \endttlines
  1157. yields
  1158. \PICT\figr2{1cm} First we have a description for the whole
  1159. picture. The descriptions for its parts could, of course, be
  1160. omitted.
  1161. \spict{(a)} This is the description for part (a) if the picture.
  1162. It is indented somewhat more to leave room for the sub-label.
  1163. \spict{(b)} Here is the description for another part.
  1164. \noindent Note that we have not produced an entry in the list of
  1165. figure captions for the \qufig{\figr2} above.
  1166. In the next example we use |\FIG| to produce such an entry and then
  1167. |\pict| with a \<label> to generate the description.
  1168. Moreover we use |\parvskip\parskip| to start a new paragraph
  1169. inside the description.
  1170. \beginttlines
  1171. \FIG\figr3{A picture with description for its two
  1172. parts (a) and (b)}
  1173. \pict\figr3{12mm}\spict{(a)} Here the description for the first
  1174. part starts without any description common to all parts.
  1175. \parvskip\parskip We can start a new paragraph without
  1176. \parvskip\parskip\indent or with indentation.
  1177. \spict{(b)} Description for the second part.\par
  1178. \noindent We can now refer to the whole figure as \qufig{\figr3}
  1179. or just to the second part as \qufig{\figr3}b and so on.
  1180. \endttlines
  1181. \FIG\figr3{A picture with description for its two
  1182. parts (a) and (b)}
  1183. \pict\figr3{12mm}\spict{(a)} Here the description for the first
  1184. part starts without any description common to all parts.
  1185. \parvskip\parskip We can start a new paragraph without
  1186. \parvskip\parskip\indent or with indentation.
  1187. \spict{(b)} Description for the second part.\par
  1188. \noindent We can now refer to the whole figure as \qufig{\figr3}
  1189. or just to the second part as \qufig{\figr3}b and so on\strut.
  1190. \par\hrule\endpage\endinsert
  1191. Here we have used the commands
  1192. \begintt
  1193. \pageinsert\singlespace\centerline{An inserted page\strut}\hrule
  1194. \strut First we give ...
  1195. .... and so on\strut.
  1196. \par\hrule\endpage\endinsert
  1197. \endtt
  1198. to demonstrate, on a separate page, how these commands work and how
  1199. they can be combined with the other figure caption macros.
  1200. \sect{Table Captions and Tables} ^^{table captions}
  1201. The table options ^|\taball|, ^|\tabchap|, ^|\tabsect|,
  1202. ^|\tabpage|, ^|\notabpage| and the table caption macros
  1203. ^|\tab|, ^|\ttab|, ^|\TAB|, ^|\TTAB|,
  1204. ^|\qutab|, ^|\tabadd|, ^|\tabout| and ^|\tabkill|
  1205. are the exact analogue of those for figures.
  1206. The {\TeX}book \quref{\texbook} explains in detail the use of
  1207. ^|\halign| to align table entries.
  1208. This is in fact rather simple as long as you do not want vertical
  1209. rules.
  1210. For tables with vertical rules you may consult the examples on pages
  1211. 247 (Chapter 22: Alignment) and 392 (Appendix D: Dirty Tricks).
  1212. Based on the example on page 247 there is a macro ^|\table|
  1213. for ^{tables} with vertical rules.
  1214. The syntax for |\table| is identical to that for |\halign|:\lb
  1215. |\table|^\<box specification>|{|^\<alignment material>|}|.\lb
  1216. There are, however, a few restrictions.
  1217. \pointbegin The ^\<preamble> must terminate with ^|\cr|,
  1218. not with ^|\crcr|.
  1219. Immediately after the |{| which precedes the preamble, after an |&|
  1220. which terminates a template in the preamble (but not after a second
  1221. |&| which indicates that the remainder of the preamble shall be
  1222. repeated if necessary) and immediately after the |\cr| which
  1223. terminates the preamble you can specify ^|\vrule| to indicate a vertical
  1224. rule at this point.
  1225. \point Immediately after the preamble (after the |\cr| or |\vrule|)
  1226. you may specify ^|\hrule| or ^|\noalign||{...}|.
  1227. If you use |\noalign| the vertical rules will, in general, be
  1228. interrupted.
  1229. \point The preamble may contain ^|\span| (expand) as usual but this
  1230. macro expansion must not produce any |&|, |\vrule| or |\cr|.
  1231. \point The rest of the ^\<alignment material> may contain
  1232. ^|\omit|, ^|\span| and ^|\multispan| as usual but all |&|'s
  1233. and |\cr|'s must be explicit.
  1234. \point |\table| uses the \<glue> parameter ^|\htabskip| and the
  1235. \<dimension> parameter ^|\vtabskip| for extra space between the
  1236. aligned material and the position where rules are or could be.
  1237. The default values are `1em plus 2em minus .5 em' (for 12pt roman)
  1238. and `2.5pt' respectively.
  1239. \point Inside a table you can use
  1240. |\ml{...\nl...}| to produce table entries which consist
  1241. of several lines.
  1242. The ^|\ml| (multi line mode) could be part of the preamble,
  1243. each ^|\nl| (new line) starts a new line.
  1244. \midinsert \hbox{\hskip1cm\vtop{\hrule height0pt\table to5.5cm{
  1245.   \vrule\hfil#&\vrule#\hfil\cr \vrule \hrule
  1246.   This is a&\ml{simple\nl table}\cr \hrule
  1247.   A normal&row\cr \hrule \noalign{\vskip1pt}\hrule
  1248.   \multispan2\hfil Three rows which span\hfil\cr
  1249.   \multispan2\hfil two columns and are\hfil\cr
  1250.   \multispan2\hfil centered\hfil\cr \hrule}}\hskip.5cm%
  1251.   \vtop{\hsize7cm\hrule height0pt\raggedright
  1252.   \TTAB\tabl1{Example of a rather simple table which
  1253.     is extended to 5.5 cm. The description appears as
  1254.     a 7 cm wide paragraph to the right of the table.}}}
  1255. \endinsert
  1256. \midinsert \advance\leftskip by 2 cm
  1257. \advance\rightskip by 2 cm
  1258. \TTAB\tabl2\tabl1 a{E. Cartan's list of classical and
  1259. exceptional simple Lie algebras.}
  1260. \bigskip
  1261. \centerline{\table to 11cm{
  1262.   $#$\hfil&\vrule&\hfil$#$\hfil&\vrule
  1263.   \hfil$#$\hfil&\vrule$#$\hfil\cr\hrule
  1264.   $Lie Algebra$&\rm Rank&\rm Dimension&%
  1265.     \ml{corresponding\nl classical group
  1266.     \nl(compact real form)}\cr\hrule
  1267.   A_n\quad(n\ge1)&n&n(n+2)&SU(n+1)\cr
  1268.   B_n\quad(n\ge2)&n&n(2n+1)&SO(2n+1)\cr
  1269.   C_n\quad(n\ge3)&n&n(2n+1)&USp(2n)\cr
  1270.   D_n\quad(n\ge4)&n&n(2n-1)&SO(2n)\cr \hrule
  1271.   G_2&2&14\cr F_4&4&52\cr E_6&6&78\cr
  1272.   E_7&7&133\cr E_8&8&248\cr }}\endinsert
  1273. \subsec{Examples:}The two tables \qutab{\tabl1} and \qutab{\tabl2}
  1274. are produced with the following sequence of commands:
  1275. \beginlines
  1276. |\midinsert \hbox{\hskip1cm\vtop{\hrule height0pt\table to5.5cm{|
  1277. |  \vrule\hfil#&\vrule#\hfil\cr \vrule \hrule|
  1278. |  This is a&\ml{simple\nl table}\cr \hrule|
  1279. |  A normal&row\cr \hrule \noalign{\vskip1pt}\hrule|
  1280. |  \multispan2\hfil Three rows which span\hfil\cr|
  1281. |  \multispan2\hfil two columns and are\hfil\cr|
  1282. |  \multispan2\hfil centered\hfil\cr \hrule}}\hskip.5cm%|
  1283. |  \vtop{\hsize7cm\hrule height0pt\raggedright|
  1284. |  \TTAB\tabl1{Example of a rather simple table which|
  1285. |    is extended to 5.5 cm. The description appears as|
  1286. |    a 7 cm wide paragraph to the right of the table.}}}|
  1287. |\endinsert|
  1288. \endlines
  1289. \beginlines
  1290. |\midinsert \advance\leftskip by 2 cm|
  1291. |\advance\rightskip by 2 cm|
  1292. |\TTAB\tabl2\tabl1 a{E. Cartan's list of classical and|
  1293. |exceptional simple Lie algebras.}|
  1294. |\bigskip|
  1295. |\centerline{\table to 11cm{|
  1296. |  $#$\hfil&\vrule&\hfil$#$\hfil&\vrule|
  1297. |  \hfil$#$\hfil&\vrule$#$\hfil\cr\hrule|
  1298. |  $Lie Algebra$&\rm Rank&\rm Dimension&%|
  1299. |    \ml{corresponding\nl classical group|
  1300. |    \nl(compact real form)}\cr\hrule|
  1301. |  A_n\quad(n\ge1)&n&n(n+2)&SU(n+1)\cr|
  1302. |  B_n\quad(n\ge2)&n&n(2n+1)&SO(2n+1)\cr|
  1303. |  C_n\quad(n\ge3)&n&n(2n+1)&USp(2n)\cr|
  1304. |  D_n\quad(n\ge4)&n&n(2n-1)&SO(2n)\cr \hrule|
  1305. |  G_2&2&14\cr F_4&4&52\cr E_6&6&78\cr|
  1306. |  E_7&7&133\cr E_8&8&248\cr }}\endinsert|
  1307. \endlines
  1308. %***  end of file PMANFGTB  ***
  1309. % \input pmanref    % references
  1310. %***  this is file PMANREF as of 11.03.86  ***
  1311. \chap{References}
  1312. There are two basic way to quote ^{references} in an article or book.
  1313. One possibility is to assign a number to each reference when it
  1314. is used for the first time and to list them all, ordered by numbers,
  1315. in the list of references.
  1316. The other possibility is to quote references by the name of the
  1317. author(s) and possibly a date and list them all in alphabetic order.
  1318. Most of this chapter deals with the first of these
  1319. possibilities (numeric references). ^^{references, numeric}
  1320. Only one section later on will describe how to use references by name.
  1321. ^^{references, by name}
  1322. The reference macros have to serve several purposes: they must
  1323. \pointbegin save the reference text,
  1324. \point assign numbers to the references,
  1325. \point put quotations to references in the text and
  1326. \point print a list of all references.
  1327. \par\noindent There is a variety of reference macros which perform
  1328. one or several of these tasks.
  1329. \sect{Form of References}
  1330. The command ^|\quref| is very similar to the command ^|\queq|
  1331. for equations, it quotes all the references in its argument.
  1332. You may specify ^|\refsup| (default) if quotations to references
  1333. should normally appear as superscripts
  1334. (\qurefsup like this \quref{\texbook})
  1335. or ^|\refsqb| if they or should be enclosed in square brackets
  1336. (\qurefsqb like this \quref{\texbook}).
  1337. These options will also affect the form of the list of references
  1338. and they cannot be changed once the first reference is used.
  1339. You can however specify ^|\qurefsup| (default with |\refsup|),
  1340. ^|\qurefsqb| (default with |\refsqb|) or ^|\qurefnum|
  1341. if at some place you want to deviate from your usual style of
  1342. quotation.
  1343. Unlike most other specifications described in this manual they are
  1344. local to the group (e.g.\ |{...}|) within which they occur.
  1345. The input:\lb
  1346. |the conjecture by {\qurefsup M\"uller \quref{a}} and {\qurefsqb|\lb
  1347. |Schulz \quref{b}} was proven in {\qurefnum Ref.~\quref{I}}.|\lb
  1348. yields:\lb
  1349. the conjecture by {\qurefsup M\"uller \quref{a}} and {\qurefsqb
  1350. Schulz \quref{b}} was proven in {\qurefnum Ref.~\quref{I}}.
  1351. The commands ^|\qref| and ^|\qrefs| are similar to ^|\qeq| and ^|\qeqs|,
  1352. i.e. |\qref{...}| is a shorthand for\lb
  1353. |{\qurefnum Ref.~\quref{...}}| (or its german equivalent).
  1354. The commands ^|\refpage|, ^|\norefpage|, ^|\refadd|, ^|\refout| and
  1355. ^|\refkill| have exactly the same function
  1356. as the corresponding ones for figures and tables.
  1357. \sect{Predefined References} ^^{references, predefined}
  1358. You may wish to define some or all references at the begin of your
  1359. input.
  1360. The command ^|\RF|\<code~name>|{|\<text>|}| will save \<text>
  1361. but will not assign a number to the reference.
  1362. A number will be assigned when the first quotation of this reference
  1363. appears in the text.
  1364. References defined with |\RF| can therefore appear in any order.
  1365. Those never quoted will not appear in the list of references.
  1366. If you use the commnand ^|\RFlist| (default) predefined references will
  1367. be stored as macro definitions,
  1368. if you use ^|\RFfile| they will be stored on an external file.
  1369. You can use the command ^|\RFext|~\<filename>{\vspace} to indicate that
  1370. all your |\RF|'s are contained in an external file.
  1371. This method is somewhat more efficient than |\RFfile| because there
  1372. is no need to copy all |\RF|'s to an auxiliary file.
  1373. \subsec{Note:}Clearly |\RFlist| is faster than |\RFfile| and |\RFext|
  1374. but also needs more storage to keep the text of all references.
  1375. |\RFfile| or |\RFext| should only be used if necessary, because the
  1376. method is not very efficient.
  1377. It may happen that the (auxiliary or external) file containing the
  1378. |\RF|'s has to be read several times in order to retrieve the text
  1379. of all references.
  1380. The maximal number of predefined references kept in storage is given
  1381. by the counter ^|\RFmax| with the default value 50.
  1382. If the reference texts are very long it may be necessary to reduce this
  1383. value, if the texts are rather short and there are more than 50
  1384. predefined references the value of |\RFmax| could be increased.
  1385. \subsec{Warning:}Alternating definition and (first) use of predefined
  1386. references should be avoided under all circumstances, if |\RFfile| has
  1387. been specified.
  1388. \subsec{Examples:}We may use the commands
  1389. \lb|\RF\AUThor{A.U. Thor, \dots}|
  1390. \lb|\RF\Drof{R.J. Drofnats, \dots;\lb|
  1391. \lb|         A. Kabelschacht, \dots}|\lb
  1392. \RF\AUThor{A.U. Thor, \dots}
  1393. \RF\Drof{R.J. Drofnats, \dots;\lb
  1394.          A. Kabelschacht, \dots}
  1395. to predefine two references, the second one with two articles.
  1396. Lateron we use the input\lb
  1397. |\dots\space this hypothesis \quref{\Drof} has recently been|\lb
  1398. |proven \quref{\AUThor} \dots|\lb
  1399. to obtain:\lb
  1400. \dots\space this hypothesis \quref{\Drof} has recently been
  1401. proven \quref{\AUThor} \dots
  1402. A certain difficulty arises if all references are predefined and you
  1403. want (e.g.\ in the introduction) to refer to several of them as
  1404. e.g.\ `\quref{1-4}', because you have to use all of them in order to
  1405. assign numbers but you do not want all these numbers in your output.
  1406. The solution is\lb
  1407. |\quref{|\<code~name>|\use{|\<code~name>\<code~name>|}-|\<code~name>|}|.
  1408. The command ^|\use| puts its argument into an hbox and throws this
  1409. hbox away, which may be useful for other purposes as well.
  1410. \subsec{Examples:}The input
  1411. \begintt
  1412. \RF\uuu{uuu} \RF\vvv{vvv}
  1413. \RF\www{www} \RF\xxx{xxx}
  1414. \dots\space \quref{\uuu\use{\vvv\www}-\xxx} \dots
  1415. \endtt
  1416. yields:\lb
  1417. \RF\uuu{uuu} \RF\vvv{vvv}
  1418. \RF\www{www} \RF\xxx{xxx}
  1419. \dots\space \quref{\uuu\use{\vvv\www}-\xxx} \dots
  1420. \sect{Single References}
  1421. You can use ^|\ref||{|\<text>|}| to define a reference which is used
  1422. just once.
  1423. This command saves \<text>, assigns a number and quotes this reference.
  1424. \lb You can use ^|\REF|\<code~name>|{|\<text>|}| to define a reference
  1425. which is used several times.
  1426. This command saves the \<text> and assigns a number.
  1427. It will, however, generate no quotation to this reference.
  1428. To obtain such a quotation use ^|\refend| (which always refers
  1429. to the reference number which was assigned last) or
  1430. |\quref{|\<code~name>|}|.
  1431. \subsec{Examples:}The input\lb
  1432. |\dots\space \ref{aaa} \dots\space \REF\bbb{bbb}\refend\space\dots|\lb
  1433. yields:\foot{Observe the effects in the list of references}\lb
  1434. \dots\space \ref{aaa} \dots\space \REF\bbb{bbb}\refend\space\dots
  1435. \sect{Multiple References} ^^{references, multiple}
  1436. In order to generate multiple references you can, of course, use
  1437. |\quref| with sufficiently complicated arguments.
  1438. If you want, however, to introduce a number of new references and
  1439. refer to all of them you can use the sequence of commands:
  1440. \lb^|\refs||{|\<text>|}| or ^|\REFS|\<code~name>|{|\<text>|}|
  1441. \lb^|\refscon||{|\<text>|}| or ^|\REFSCON|\<code~name>|{|\<text>|}|
  1442. \lb|...|
  1443. \lb|\refscon{|\<text>|}| or |\REFSCON|\<code~name>|{|\<text>|}|
  1444. \lb^|\refsend|.
  1445. \lb If you omit the |\refsend| the quotation
  1446. to these references will be omitted.
  1447. If you wish, you can in fact use |\refsend| several times.
  1448. \subsec{Examples:}The input
  1449. \begintt
  1450. \dots\space \REFS\ccc{ccc} \refscon{This is a ... indented.}
  1451. \REFSCON\eee{eee} \refsend\space\dots
  1452. \quref{\Drof,\ccc-\eee}
  1453. \endtt
  1454. yields:\lb
  1455. \dots\space \REFS\ccc{ccc} \refscon{This is a very long reference which
  1456. will certainly need more than one line; the second line will be
  1457. indented.}
  1458. \REFSCON\eee{eee} \refsend\space\dots
  1459. \quref{\Drof,\ccc-\eee}
  1460. \sect{References by Name} ^^{references, by name}
  1461. The command ^|\refnam| indicates that you want references by
  1462. name.
  1463. In this case all references must be predefined (|\RF|) and their order
  1464. is important.
  1465. All those used at least once will be printed in the list of references
  1466. in exactly the same order.
  1467. Because it is much harder to standardize quotations for references by
  1468. name the command |\quref| will not produce any visible output.
  1469. It will just remember which references have been used.
  1470. The commands |\qref|, |\qrefs| and all commands for single or multiple
  1471. references cannot be used together with |\refnam|.
  1472. \sect{Multiple Lists of References}
  1473. It is quite possible to have a separate list of references after
  1474. each chapter.
  1475. You just have to use |\refout| (probably with the option |\norefpage|)
  1476. at the end of each chapter.
  1477. The command ^|\refout| will not only print a list of references
  1478. but will in addition reset the reference counter to zero and forget
  1479. all code names used for single and multiple references.
  1480. All the code names for predefined references will, however, still be
  1481. defined and available for future use in a later chapter.
  1482. \sect{Macros for Physics Journals}
  1483. In order to facilitate the writing of references and to conserve
  1484. storage there are macros for frequently used ^{physics journals}.
  1485. You can choose between the options ^|\yearpage| (default) or
  1486. ^|\pageyear| if references generated by these macros should have
  1487. the form `\yearpage \journal{journal}volume(year)page*'
  1488. or `\pageyear \journal{journal}volume(year)page*'.\yearpage
  1489. The printing of the journal name and volume is determined by
  1490. ^|\journalstyle| and ^|\volumestyle| with the default definitions
  1491. \lb|\def\journalstyle{\sl}| (slanted) and
  1492. \lb|\def\volumestyle{\bf}| (boldface);\lb
  1493.  other useful possibilities are
  1494. \lb|\def\volumestyle{\underbar}| (underlined) or
  1495. \lb|\def\volumestyle{}| (roman).
  1496. The basic macros are\lb
  1497. ^|\journal||{|\<journal name>|}|\<volume>|(|\<year>|)|\<page(s)>|*|\lb
  1498. for journals with ordinary volume numbers,\lb
  1499. ^|\journalp||{|\<journal name>|}|\<letter>\<volume>|(|\<year>|)|%
  1500. \<page(s)>|*|\lb
  1501. for journals where a letter precedes the volume numbers
  1502. (e.g.\ \Nucl\Phys) and\lb
  1503. ^|\journalf||{|\<journal name>|}|\<letter>\<volume>|(|\<year>|)|%
  1504. \<page(s)>|*|\lb
  1505. for journals where a letter follows the volume numbers
  1506. (e.g.\ \Phys\Lett).
  1507. The following macros for frequently used physics journals are defined
  1508. in terms of these basic macros:
  1509. ^^|\NPA|^^|\NPB|^^|\PLA|^^|\PLB|^^|\PR|^^|\PRA|^^|\PRB|^^|\PRC|
  1510. ^^|\PRD|^^|\PRL|
  1511. %***  the following lines are copied from PHYSJRNL  ***
  1512. \beginttlines
  1513. \def\NPA{\journalp{\Nucl\Phys}A}
  1514. \def\NPB{\journalp{\Nucl\Phys}B}
  1515. \def\PLA{\journalf{\Phys\Lett}A}
  1516. \def\PLB{\journalf{\Phys\Lett}B}
  1517. \def\PR{\journal{\Phys\Rev}}
  1518. \def\PRA{\journalp{\Phys\Rev}A}
  1519. \def\PRB{\journalp{\Phys\Rev}B}
  1520. \def\PRC{\journalp{\Phys\Rev}C}
  1521. \def\PRD{\journalp{\Phys\Rev}D}
  1522. \def\PRL{\journal{\Phys\Rev\Lett}}
  1523. \endttlines
  1524. where macros for frequently used abbreviations
  1525. (e.g.\ `|\Phys|' for `\Phys')
  1526. are used in order to conserve storage space.
  1527. \subsec{Examples:}The following list displays the use of some of these
  1528. macros together with the resulting output.
  1529. \halign{`#'\qquad\hfill&`#'\hfill\cr
  1530. |\pageyear\PRL23(1976)27*|&\pageyear\PRL23(1976)27*\cr
  1531. |\yearpage\PRL23(1976)27--29*|&\yearpage\PRL23(1976)27--29*\cr
  1532. |\PRL45(1980)*|&\PRL45(1980)*\cr
  1533. |\PRL45()*|&\PRL45()*\cr
  1534. |\PRL(1984)*, to appear|&\PRL(1984)*, to appear\cr
  1535. |\NPB72(1982)13*|&\NPB72(1982)13*\cr
  1536. |\NPB()* (to appear)|&\NPB()* (to appear)\cr
  1537. |\PLA72(1982)13--27*|&\PLA72(1982)13--27*\cr
  1538. %***  end of file PMANREF  ***
  1539. % \input pmanfoot   % footnotes and insertionss
  1540. %***  this is file PMANFOOT as of 11.03.86  ***
  1541. \chap{Footnotes and Insertions}
  1542. \sect{Footnotes} ^^{footnotes}
  1543. You can use the command ^|\footbot| (default) or ^|\footend|
  1544. if `footnotes' should appear at the bottom of the page (as footnotes
  1545. like this\foot{A footnote at the bottom of the page})
  1546. or should be printed separately at the end in the same way as
  1547. figure captions, table captions and references (as required
  1548. by some journals) like this\footend\foot{A footnote at the end
  1549. of the paper}\footbot.
  1550. In the later case you can use the commands ^|\footpage|,
  1551. ^|\nofootpage|, ^|\footadd|, ^|\footout| and ^|\footkill|
  1552. which have exactly the same function as the corresponding ones for
  1553. figures, tables and references.
  1554. To generate footnotes you can use either\lb
  1555. ^|\footnote||{|\<symbol>|}{|\<text>|}|\foot{The lack of space between
  1556. `|}|' and `|{|' in this and similar constructions is significant!}
  1557. or ^|\foot||{|\<text>|}|.\lb
  1558. The difference is that with |\footnote| you choose your own
  1559. symbol, whereas footnotes produced with |\foot| are automatically
  1560. numbered and the (superscripted) number is used as symbol.
  1561. You can choose between ^|\footsqb| (default) and ^|\footpar|
  1562. to get these numbers enclosed in square brackets or followed by
  1563. a parenthesis.
  1564. The text of footnotes (only those at the bottom of the page) will
  1565. start with the command ^|\footstyle| with the default definition\lb
  1566. |\let\footstyle\relax|.\lb
  1567. If you want your footnotes printed in 10pt you should replace this
  1568. by e.g.\lb
  1569. |\def\footstyle{\tenpoint}|.
  1570. \subsec{Examples:}We will first use \foot{This is a short footnote}\lb
  1571. |\foot{This is a short footnote}|\lb
  1572. \footnote{*}{This is a footnote. In order to see the difference
  1573. in spacing within and between footnotes we make it long}\lb
  1574. |\footnote{*}{This|\dots\lb
  1575. \dots| long}|\lb
  1576. and finally \foot{This is another short footnote}\lb
  1577. |\foot{This is another short footnote}|\lb
  1578. to generate three footnotes.
  1579. With the option |\footbot| footnotes are insertions which should
  1580. eventually migrate to \TeX's main vertical list (compare the
  1581. \TeX book \quref{\texbook}).
  1582. They will, however, not do so, i.e.\ are lost, if they are hidden
  1583. inside nested boxes, e.g.\ in a table.
  1584. In such a case you can split the function of\lb
  1585. |\foot{|\<text>|}| resp.\ |\footnote{|\<symbol>|}{|\<text>|}| into\lb
  1586. ^|\hfoot| resp.\ ^|\hfootnote{|\<symbol>|}| which will produce the
  1587. reference to the footnote as well as save the symbol in the (global)
  1588. variable ^|\footid| and\lb
  1589. ^|\vfootnote||\footid{|\<text>|}| somewhat later on the same page which
  1590. will produce the footnote insertion, such that the insertion can
  1591. migrate to the main vertical list.
  1592. \subsec{Examples:}The input ^^|\boxit|
  1593. \begintt
  1594. \boxit{A lost footnote\foot{A lost footnote}}\quad
  1595. \boxit{Two footnotes\hfoot \glet\footxx=\footid \space inside
  1596.   a box\hfootnote{$^*$}}
  1597. \vfootnote\footxx{First footnote from inside a box}
  1598. \vfootnote\footid{Second footnote from inside a box}
  1599. \endtt
  1600. yields:\lb
  1601. \boxit{A lost footnote\foot{A lost footnote}}\quad
  1602. \boxit{Two footnotes\hfoot \glet\footxx=\footid \space inside
  1603.   a box\hfootnote{$^*$}}
  1604. \vfootnote\footxx{First footnote from inside a box}
  1605. \vfootnote\footid{Second footnote from inside a box}
  1606. \sect{Insertions}
  1607. You can use PLAIN's commands ^|\midinsert|, ^|\topinsert| and
  1608. ^|\pageinsert| together with ^|\endinsert| to produce ^{insertions}
  1609. (e.g.\ tables or blank space for figures).
  1610. %***  end of file PMANFOOT  ***
  1611. % \input pmantoc    % table of contents
  1612. %***  this is file PMANTOC as of 06.03.86  ***
  1613. \chap{Table of Contents}
  1614. During the processing of your manuscript you {\TeX} can collect
  1615. information for a ^{table of contents} which can be printed at the end.
  1616. It is, however, no problem to manipulate page numbers in such a way
  1617. that the table of contents appears e.g.\ on pages 1 and 2 and the
  1618. text starts on page 3.
  1619. The commands ^|\tocpage|,
  1620. ^|\notocpage|, ^|\tocadd|, ^|\tocout| and ^|\tockill|
  1621. which have exactly the same function as the corresponding ones for
  1622. figures, tables and references.
  1623. You can specify an entry for the table of contents with the command\lb
  1624. ^|\toc||{|\<label>|}{|\<text>|}|\lb
  1625. and the page number will be automatically appended to the \<text>.
  1626. You can also use the possibility to generate entries automatically.
  1627. \bullitem If you choose the option ^|\tocnone| (default) there will
  1628. be no automatic entries for the table of contents.
  1629. \bullitem With the option ^|\tocchap| one entry will be
  1630. automatically generated for each chapter (with the chapter
  1631. number as \<label> and the chapter title as \<text>) and for each
  1632. appendix.
  1633. \bullitem With the option ^|\tocsect| there will be in addition
  1634. one entry for each section (as in this manual).
  1635. \bullitem With the option ^|\tocsecs| there will be in addition
  1636. one entry for each subsection.
  1637. \bullitem With the option ^|\tocsecss| there will be in addition
  1638. one entry for each sub-subsection.
  1639. \bullitem With the option ^|\tocsecsss| there will be in addition
  1640. one entry for each sub-sub-subsection.
  1641. \noindent You can combine these automatic entries with additional ones
  1642. specified by ^|\toc| and ^|\tocadd|.
  1643. The input
  1644. \begintt
  1645. \tocadd{Note that most of this table of contents has been produced
  1646.         automatically with the option `tocsect'.
  1647.         Only this paragraph and the immediately following entry
  1648.         have been produced explicitely.}
  1649. \toc{Demonstration}{how to generate (explicitely) an entry for the
  1650.      table of contents. Very long entries will be split into several
  1651.      lines with apropriate indentation on both sides}
  1652. \endtt
  1653. \tocadd{Note that most of this table of contents has been produced
  1654.         automatically with the option `tocsect'.
  1655.         Only this paragraph and the immediately following entry
  1656.         have been produced explicitely.}
  1657. \toc{Demonstration}{how to generate (explicitely) an entry for the
  1658.      table of contents. Very long entries will be split into several
  1659.      lines with apropriate indentation on both sides}
  1660. does not produce any visible output at this point.
  1661. The effect can, however, been seen in the table of contents.
  1662. %***  end of file PMANTOC  ***
  1663. % \input pmantext   % some macros for text
  1664. %***  this is file PMANTEXT as of 06.03.86  ***
  1665. \chap{Some Macros for Text}
  1666. The command ^|\thetime| yields the time in the form `hh:mm'
  1667. (e.g.\ \thetime), ^|\themonth| yields the current month in words
  1668. (e.g.\ \themonth\ or \german\themonth),
  1669. ^|\date| yields todays date in the form `dd.mm.yy' (e.g.\ \date) and
  1670. ^|\thedate| yields todays date in long form such as `\thedate' or
  1671. `\english\thedate'.
  1672. You can use ^|\ctrline|, ^|\lftline| or ^|\rtline| to produce a
  1673. centered, left-justified or right-justified line of text.
  1674. These commands are almost identical to PLAIN's ^|\centerline|,
  1675. ^|\leftline| and ^|\rightline| but they use |\hfil| instead
  1676. of |\hss|.
  1677. The use of |\hfil| does not allow the line to stick out on one
  1678. or both sides but it does allow to cancel the |\hfil| by an
  1679. |\hfilneg| or to override it by an |\hfill|.
  1680. The definition of ^|\loop| has been modified in order to allow
  1681. the construction\lb
  1682. |\loop ... \if... ... \else ... \repeat| in addition to\lb
  1683. |\loop ... \if... ... \repeat|.
  1684. PLAIN's commands `^|\{|', `^|\}|', `^|\,|', `^|\>| and `^|\;|'
  1685. have been modified and can be used in horizontal mode
  1686. as well as in math mode.
  1687. Moreover you can use ^|\Mit||{...}| to produce `math italic' and
  1688. ^|\Cal||{...}| to produce `caligraphic' text.
  1689. Both commands can be used inside and outside math mode and |\Cal|
  1690. will automatically translate its argument to upper case.
  1691. Any input between ^|\comment| end ^|\endcomment| will be ignored,
  1692. i.e.\ treated as comment.
  1693. Note, however, that |\endcomment| must appear as the first
  1694. (nonblank) token of an input line.
  1695. The command ^|\boxit||{...}| puts its argument into a box.
  1696. The commands ^|\topsmash| and ^|\botsmash| are similar to ^|\smash|
  1697. but only the part above or below the baseline is `smashed'.
  1698. \subsec{Examples:}The input
  1699. \begintt
  1700. \line{\boxit{\boxit{\;$a\over b$\;}}\hfill
  1701.    \boxit{\boxit{\vphantom{\;$a\over b$\;}}}\hfill
  1702.    \boxit{\boxit{\hphantom{\;$a\over b$\;}}}}
  1703. \line{\boxit{\boxit{\rlap{\;$a\over b$\;}}}\hfill
  1704.    \boxit{\boxit{\topsmash{\;$a\over b$\;}}}\hfill
  1705.    \boxit{\boxit{\phantom{\;$a\over b$\;}}}\hfill
  1706.    \boxit{\boxit{\botsmash{\;$a\over b$\;}}}\hfill
  1707.    \boxit{\boxit{\smash{\;$a\over b$\;}}}\hfill
  1708.    \boxit{\boxit{\llap{\;$a\over b$\;}}}}
  1709. \endtt
  1710. yields:
  1711. \line{\boxit{\boxit{\;$a\over b$\;}}\hfill
  1712.    \boxit{\boxit{\vphantom{\;$a\over b$\;}}}\hfill
  1713.    \boxit{\boxit{\hphantom{\;$a\over b$\;}}}}
  1714. \line{\boxit{\boxit{\rlap{\;$a\over b$\;}}}\hfill
  1715.    \boxit{\boxit{\topsmash{\;$a\over b$\;}}}\hfill
  1716.    \boxit{\boxit{\phantom{\;$a\over b$\;}}}\hfill
  1717.    \boxit{\boxit{\botsmash{\;$a\over b$\;}}}\hfill
  1718.    \boxit{\boxit{\smash{\;$a\over b$\;}}}\hfill
  1719.    \boxit{\boxit{\llap{\;$a\over b$\;}}}}
  1720. The command ^|\lb| is equivalent to |\hfil\break| and can be used to
  1721. force a line break.\lb
  1722. The command ^|\endpage| is equivalent to |\par\vfil\eject| and can be
  1723. used to force a page break.\lb
  1724. If you use ^|\superendpage| instead of |\endpage| all pending footnotes
  1725. and insertions will be printed before the new page is started.
  1726. The command ^|\use| has already been mentioned, it puts its argument
  1727. into an |\hbox| (with macro expansion as usual) and discards this
  1728. box.\lb
  1729. The command ^|\eat| equally discards its argument but without any macro
  1730. expansion.\lb
  1731. The command ^|\glet| is an abbreviation for |\global\let| and is used
  1732. primarily to conserve space used for macros.
  1733. %***  end of file PMANTEXT  ***
  1734. % \input pmanmath   % mathematical expressions
  1735. %***  this is file PMANMATH as of 06.03.86  ***
  1736. \chap{Mathematical Expressions}
  1737. Let us once again use `|\qeq{\Eq1}|' to refer to equation
  1738. `|\Eq1|' defined earlier:
  1739. this time the result is `\qeq{\Eq1}'.
  1740. PLAIN's macros ^|\matrix|, ^|\pmatrix| and ^|\bordermatrix|
  1741. have been modified as follows:
  1742. If you use the commands ^|\matc| (default), ^|\matl| or ^|\matr|
  1743. matrix elements will be centered (as in PLAIN), left justified
  1744. or right justified respectively.
  1745. Moreover you can use ^|\mat| as an abbreviation for ^|\pmatrix|.
  1746. \subsec{Examples:}The sequence of commands
  1747. \begintt
  1748. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1749. \matl
  1750. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1751. \matr
  1752. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1753. \matc
  1754. $$\mat{\sin\lambda&1&0\cr&\sin\lambda&1\cr&&\sin\lambda\cr}\eqn$$
  1755. \endtt
  1756. yields
  1757. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1758. \matl
  1759. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1760. \matr
  1761. $$\mat{\sin\lambda\cr1&\sin\lambda\cr0&1&\sin\lambda\cr}\eqn$$
  1762. \matc
  1763. $$\mat{\sin\lambda&1&0\cr&\sin\lambda&1\cr&&\sin\lambda\cr}\eqn$$
  1764. The macros ^|\smallsum| and ^|\smallprod| give small summation
  1765. and product signs similar to PLAIN's ^|\smallint|.
  1766. These symbols are reduced in size if they appear in sub- or
  1767. superscripts.
  1768. There are additional `^{math accents}' and there are also the
  1769. corresponding symbols which can be used as superscripts.
  1770. The complete list is:\lb
  1771. ^|\dot| and ^|\dotsymbol| for one dot,\lb
  1772. ^|\dotii| (or ^|\ddot|) and ^|\dotiisymbol| for two dots,\lb
  1773. ^|\dotiii| and ^|\dotiiisymbol| for three dots,\lb
  1774. ^|\dotiv| and ^|\dotivsymbol| for four dots,\lb
  1775. ^|\vec| and ^|\vecsymbol| for an arrow,\lb
  1776. ^|\bar| and ^|\barsymbol| for a bar,\lb
  1777. ^|\tilde| and ^|\tildesymbol| for a tilde and\lb
  1778. ^|\hat| and ^|\hatsymbol| for a hat.
  1779. \subsec{Examples:}The input:
  1780. \begintt
  1781. $\dot x=\dotii x=\dotiii x=\dotiv x=
  1782. \vec x=\bar x=\tilde x=\hat x$ or
  1783. $ABC^\dotsymbol=ABC^\dotiisymbol=
  1784. ABC^\dotiiisymbol=ABC^\dotivsymbol$ or
  1785. $DEF^\vecsymbol=DEF^\barsymbol=
  1786. DEF^\tildesymbol=DEF^\hatsymbol$
  1787. \endtt
  1788. yields:\lb
  1789. $\dot x=\dotii x=\dotiii x=\dotiv x=
  1790. \vec x=\bar x=\tilde x=\hat x$ or
  1791. $ABC^\dotsymbol=ABC^\dotiisymbol=
  1792. ABC^\dotiiisymbol=ABC^\dotivsymbol$ or
  1793. $DEF^\vecsymbol=DEF^\barsymbol=
  1794. DEF^\tildesymbol=DEF^\hatsymbol$
  1795. \sect{Mathematical Statements}
  1796. You may want to use macros to typeset ^{mathematical statements}
  1797. such as definitions, theorems, propositions, {\dots} and
  1798. proofs.
  1799. The problem is that different people have different ideas
  1800. how to name these statements.
  1801. Moreover one author prefers to number each class of
  1802. statements independently whereas another one would like them
  1803. all to share one sequence of numbers.
  1804. Therefore you must use the command ^|\defstmt|
  1805. (\underbar{def}ine \underbar{st}ate\underbar{m}en\underbar{t})
  1806. to define macros for theorems etc.\ yourself according to
  1807. your preferences.
  1808. The syntax is\lb
  1809. |\defstmt{|\<macro>|}{|\<name>|}{|\<numbering>|} |.\lb
  1810. The command |\defstmt{Thm}{Theorem}{|\<numbering>|}| will
  1811. define a macro ^|\Thm| which can be used to state `Theorem's.
  1812. Any such `Theorem' starts with |\Thm|, followed by optional
  1813. text and by `:\vspace', and extends until the next statement or
  1814. ^|\par| or ^{blank line} is encountered.
  1815. You may, however, use ^|\endgraf| to start a new paragraph
  1816. within a statement.
  1817. While you are inside such a statement the command
  1818. ^|\label| will define a \<code~name> such that it represents
  1819. the number assigned to the statement.
  1820. The command ^|\Prf| can be used to generate a proof.
  1821. The only difference is that proofs have no numbers and that
  1822. they may appear in a different font.
  1823. The last argument \<numbering> of |\defstmt| determines how
  1824. this class of statements shall be numbered and must be one
  1825. of the following:
  1826. \bullitem `|aa|', `|ca|', `|cc|', `|sa|', `|sc|' or `|ss|'
  1827. where the first letter indicates whether the statements
  1828. shall be numbered throughout the whole paper (a),
  1829. per chapter (c) or per section (s).
  1830. The second letter indicates whether
  1831. these numbers shall be unique throughout the whole paper
  1832. (a), through each chapter, i.e.\ chapter numbers as prefix are
  1833. omitted, (c) or through each section, i.e.\ chapter and
  1834. section numbers are omitted, (s).
  1835. That means that the numbering options `|aa|', `|cc|' and
  1836. `|ss|' will yield numbers which look alike but which are
  1837. reset differently.
  1838. \bullitem `|=|' immediately followed by \<macro> of another
  1839. class of statements with which the new class shall share the
  1840. numbers.
  1841. \par\noindent Since the names of these statements are
  1842. supplied by the user there is no need to provide for
  1843. automatic switching between english and german text.
  1844. The following example demonstrates some of the possibilities.
  1845. The input:
  1846. \beginlines
  1847. |\defstmt{Def}{Definition}{ca}|
  1848. |\defstmt{Thm}{Theorem}{cc}|
  1849. |\defstmt{Lem}{Lemma}{=Thm}|
  1850. |\Def: \label\Df1 This is definition~\quote{\Df1}.|
  1851. |\Thm (very important)\label\Tm1 : Assume $X$ has the properties|
  1852. |  \spointbegin $X$ is {\dots} and|
  1853. |  \spoint $X$ is \dots|
  1854. |\endgraf\noindent Then \dots|
  1855. |\par Before we prove Theorem~\quote{\Tm1} we need|
  1856. |\Lem: \label\Lm1 This is a Lemma.|
  1857. |\Prf: According to Definition \quote{\Df1} all $X$ \dots|
  1858. |\Prf \rm of Theorem~\quote{\Tm1}:|
  1859. |Using Lemma~\quote{\Lm1} we can \dots|
  1860. |\par|
  1861. \endlines
  1862. yields:
  1863. \defstmt{Def}{Definition}{ca}
  1864. \defstmt{Thm}{Theorem}{cc}
  1865. \defstmt{Lem}{Lemma}{=Thm}
  1866. \Def: \label\Df1 This is definition~\quote{\Df1}.
  1867. \Thm (very important)\label\Tm1 : Assume $X$ has the properties
  1868.   \spointbegin $X$ is {\dots} and
  1869.   \spoint $X$ is \dots
  1870. \endgraf\noindent Then \dots
  1871. \par Before we prove Theorem~\quote{\Tm1} we need
  1872. \Lem: \label\Lm1 This is a Lemma.
  1873. \Prf: According to Definition \quote{\Df1} all $X$ \dots
  1874. \Prf \rm of Theorem~\quote{\Tm1}:
  1875. Using Lemma~\quote{\Lm1} we can \dots
  1876. %***  end of file PMANMATH  ***
  1877. % \input pmansel    % selective printing and start macros
  1878. %***  this is file PMANSEL as of 10.03.86  ***
  1879. \chap{Selective Printing and Start Macros}
  1880. \sect{Selective Printing}
  1881. Sometimes you want to print just one or a few pages of a long paper,
  1882. e.g.\ because there have been some minor changes.\lb
  1883. The command ^|\pagesel||{|\<first>|}{|\<last>|}| will suppress the
  1884. printing of all pages with page numbers not in the range `first--last'.
  1885. You can use |\pagesel| more than once, but you should consider
  1886. that \TeX's page breaking mechanism is somewhat delayed.
  1887. Note, however, that |\pagesel| does not save any computing time.
  1888. Paragraphs will be broken into lines and lines will be assembled  into
  1889. pages as usual.
  1890. \sect{Start Macros}
  1891. If you prepare a long paper you will usually want to process
  1892. smaller parts of it, one at a time.
  1893. This is always somewhat difficult but the following `start macros'
  1894. should help you:\lb
  1895. ^|\startpage|\<number> for ^|\pageall| or\lb
  1896. ^|\startpage|\<prefix>|.|\<number> for ^|\pagechap| sets the number
  1897. of the first page (as displayed on the LOG file),\lb
  1898. ^|\startchap|\<number> sets the number for the next chapter,\lb
  1899. ^|\startsect|\<number> sets the number for the next section,\lb
  1900. ^|\startappendix||`|\<character> sets the character for the
  1901. next appendix,\lb
  1902. ^|\startequ|\<number> sets the number for the next equation,\lb
  1903. ^|\startfig|\<number> sets the number for the next figure,\lb
  1904. ^|\starttab|\<number> sets the number for the next table,\lb
  1905. ^|\startref|\<number> sets the number for the next reference and\lb
  1906. ^|\startfoot|\<number> sets the number for the next footnote.
  1907. These start macros initialize various count registers, but you may
  1908. still have to initialize other internal variables (e.g.\ the prefix
  1909. for equation numbers) which is normally done by ^|\chap|, ^|\sect| or
  1910. ^|\appendix|.
  1911. In order to do so use
  1912. \pointbegin ^|\sectinit| if you want to \underbar{continue} a section
  1913. within chapter~0,
  1914. \point ^|\chapinit| if you want to \underbar{continue} any chapter
  1915. except chapter~0, or
  1916. \point ^|\appinit| if you want to \underbar{continue} an appendix.
  1917. \sect{Save and Restore}
  1918. If you want to process only one part of your manuscript but at the
  1919. same time want to refer to equations, figures, tables and references
  1920. defined in earlier parts you should use ^|\save|~\<filename>\vspace.
  1921. {\TeX} maintains a list of all \<code~name>'s defined so far
  1922. (except the names of references defined by ^|\RF| which have not yet
  1923. been used).
  1924. In order to save storage space you can use the commands\lb
  1925. ^|\kill|\<code~name> or |\kill{|\<code~name>|...|\<code~name>|}|\lb
  1926. to delete \<code~name>'s which are no longer needed;
  1927. they are removed from the list and the corresponding definitions
  1928. are discarded.
  1929. The command |\save| writes a sequence of commands to an external file
  1930. (with file type ^{TEXSAVE}) which can be used to restore all
  1931. definitions.
  1932. First there is a sequence of commands specifying options,
  1933. followed by start macros with appropriate arguments and macros which
  1934. restore the definitions of all \<code~name>'s on the list.
  1935. Note, however, that the counts for subequations,
  1936. ((sub-)sub-)subsections and ((sub-)sub)points will
  1937. neither be saved nor restored.
  1938. To set up a job which starts at the point of the ^|\save|
  1939. command you should
  1940. \pointbegin respecify all private macro definitions
  1941. \point repeat all definitions of references by ^|\RF|
  1942. \point use the command ^|\restore|~\<filename>\vspace
  1943. \foot{Sometimes it will be necessary to increase the page numer by
  1944. The command |\startpage| should be followed by the page number of
  1945. that page on which the text immediately following the |\save|
  1946. command appears.}
  1947. \point start whith the input right after the |\save| command.
  1948. \par\noindent Finally if the text immediately after the |\save|
  1949. command (e.g.\ a new chapter) doesn't start on a new page
  1950. \point either start with the command ^|\vglue| (not |\vskip|)
  1951. followed by the right dimension (e.g.\ `5.3cm') or
  1952. insert commands to enforce a line and page break at the desired
  1953. point:\lb
  1954. ^|\vadjust||{\endpage}\lb| for a page break in the middle of a paragraph
  1955. or\lb
  1956. ^|\endpage| for a page break between paragraphs.
  1957. \sect{Forward References}
  1958. Usualy you can refer to a \<code~name> only after it has been defined
  1959. and a value is assigned to it (^{backward reference}s).
  1960. If you want to refer to something which is defined at a later point in
  1961. the manuscript (^{forward reference}) you can use the command
  1962. ^|\crossrestore|~\<filename>{\vspace} (restore information for cross
  1963. references) just before the begin of the actual text of the
  1964. manuscript and the commands |\superendpage| and |\save| (with the
  1965. same \<filename>)
  1966. immediately before the command |\bye|.
  1967. If you process your manuscript for the first time you will get
  1968. an error message that the file for |\crossrestore| is missing and a
  1969. %***  user exits  ***                    % called before
  1970. lot of \<code~name>'s will be undefined.
  1971. The next time, when the file for |\crossrestore| is present, all these
  1972. names will be defined in exactly the same way they were defined at
  1973. the end of the previous run.
  1974. There should be no more undefined \<code~name>'s unless they are
  1975. misspelled or are defined nowhere in the manuscript.
  1976. Clearly these definitions may not be accurate if you have meanwhile
  1977. modified the manuscript; in this case forward references will not be
  1978. accurate in the this run but backward references will allways be
  1979. correct.
  1980. \sect{User Exits}
  1981. There are a few ^{user exits} which can be used for special
  1982. applications.
  1983. All user exits are named ^|\...userexit| and any argument(s) are
  1984. contained in the token list register ^|\toks0|, ^|\toks2|, |...|~.
  1985. The following list contains all user exits presently defined together
  1986. with their default definition:
  1987. %***  the following lines are copied from PHYSTEXT  ***
  1988. \beginttlines
  1989. %***  user exits  ***                    % called before
  1990. \def\skipuserexit{\setbox0\box255 }      % page is not printed
  1991. \def\shipuserexit{\unvbox255 }           % page is printed
  1992. \def\chapuserexit{\sectuserexit}         % chapter title
  1993. \def\appuserexit{\chapuserexit}          % appendix title
  1994. \def\sectuserexit{\secsuserexit}         % section title
  1995. \def\secsuserexit{\secssuserexit}        % subsection title
  1996. \def\secssuserexit{\secsssuserexit}      % subsubsection title
  1997. \let\secsssuserexit=\relax               % subsubsubsection title
  1998. \endttlines
  1999. They are all called immediately before the title of the chapter,
  2000. appendix, section, {\dots} is printed.
  2001. At this point |\toks0| contains (macros which will expand to) the
  2002. number and |\toks2| contains the actual title.
  2003. For an appendix |\toks0| will in addition contain the word `Appendix'
  2004. or `Anhang' and |\toks2| may contain just `|\unskip|' if the appendix
  2005. has no title.
  2006. The following two examples show some details.
  2007. Assume you want to remove the final dot in the (sub-)section
  2008. number.
  2009. In order to do that you have to define |\secsssuserexit|
  2010. which will automatically be used for all higher exits up to
  2011. |\sectuserexit| and you must make sure that this macro is not used
  2012. for chapters and sections:
  2013. \begintt
  2014. \let\chapuserexit=\relax
  2015. \def\secsssuserexit{\expandafter\myuserexit\the\toks0 }
  2016. \def\myuserexit#1.{\toks0{#1}}
  2017. \endtt
  2018. Let us now consider a more complicated example.
  2019. Suppose you want to start each chapter and appendix on a new
  2020. page with two title lines in a huge font with 5mm extra space
  2021. between them and 20mm extra space below and above.
  2022. The first line shall contain the chapter or appendix number
  2023. and the second line the actual title.
  2024. Moreover the titles shall appear in the headline and a horizontal rule
  2025. should be placed below the headline.
  2026. You could, of course, write your own chapter and appendix
  2027. macros for this purpose, taking care of things like resetting
  2028. section numbers, possibly equation numbers ond so on.
  2029. This might, however, cause incompatibilities with future
  2030. changes of the PHYS macro package.
  2031. It is, therefore, strongly recommended to use the appropriate
  2032. user exits |\chapuserexit| and |\appuserexit| for this
  2033. purpose.
  2034. Below we give a sequence of commands which does all the required
  2035. things.
  2036. In order to understand them you have to know that immediately after
  2037. the user exits the title line is printed with the command\lb
  2038. |\ctrline{\titlestyle{\the\toks0\ \the\toks2}}|.\lb
  2039. The use of |\mark|'s is not quite necessary in a situation where
  2040. each chapter and appendix starts on a new page.
  2041. The code around the marks is, however, necessary if there are titles
  2042. with footnotes.
  2043. \beginttlines
  2044. \font\huge=ambx10 scaled\magstep3    % a huge font
  2045. \toppagenum\chappage\althead  \chapstretch=5cm
  2046. \let\physskipheadline=\skipheadline     % preserve old definition
  2047. \def\skipheadline#1{\glet\skipheadrule#1% skip head line rule
  2048.   \physskipheadline#1}                  % if headline is skipped
  2049. \lheadtext={\firstmark}  \rheadtext={\botmark}
  2050. \let\physmakeheadline=\makeheadline  % preserve old definition
  2051. \def\makeheadline{\physmakeheadline  % define new headline
  2052.   \if F\skipheadrule \vbox to0mm{\vskip-8 mm\hrule
  2053.   width \hsize \vss}\fi \nointerlineskip}
  2054. \skipheadline=F                      % initialize \skipheadrule
  2055. \def\titlestyle{\vadjust{\nobreak \vskip 5mm}\huge}
  2056. \def\chapuserexit{\vglue 20mm%
  2057.   \expandafter\ifx\expandafter\unskip\the\toks2 \toks4=\toks0
  2058.   \else
  2059.   \toks4={\unskip\egroup\egroup\ctrline\bgroup\titlestyle\bgroup}%
  2060.   \edef\next{\the\toks4 \the\toks2}\toks4=\toks2
  2061.   \toks2=\expandafter{\next}\fi
  2062.   \bgroup\def\footnote{\expandafter\eat\eat}%
  2063.     \let\hfootnote=\footnote          % allow footnotes
  2064.     \let\foot=\eat \let\hfoot=\eat    % in title
  2065.     \mark\expandafter{\the\toks4}\egroup
  2066.   \toks2=\expandafter{\the\toks2\vadjust{\vskip 15mm}}}
  2067. \endttlines
  2068. \indent\bpargroup The two exits |\skipuserexit| and |\shipuserexit|
  2069. are called by the output routine |\physoutput| when a page is skipped
  2070. (due to |\pagesel|) or is prepared for printing.
  2071. The index of this manual is printed in three columns by using these
  2072. two exits without any change in |\physoutput|.
  2073. %***  end of file PMANSEL  ***
  2074. % \input pmanack    % acknowledgements
  2075. %***  this is file PMANACK as of 06.03.86  ***
  2076. The authors have profited from many discussion with E. Belau,
  2077. G. Raffelt and W. Wiedenmann.
  2078. The present |\table| macro was originally designed by R. Schilling
  2079. and many improvements at various places are due to discussions with him.
  2080. Many macros descibed in this paper originate from macros for physics
  2081. papers written at SLAC\null,
  2082. some of them have been inspired by \AmSTeX.
  2083. %***  end of file PMANACK  ***
  2084. % \input pmanopts   % list of all options
  2085. %***  this is file PMANOPTS as of 06.03.86  ***
  2086. \appendix{List of all Options} ^^{options, list of all}
  2087. This appendix lists all the options you can use with the
  2088. PHYSE or PHYS formats.
  2089. The default option is underlined unless otherwise indicated.
  2090. The commands |\english| (default for PHYSE) or |\german| (default
  2091. for PHYS) indicate that certain headings should be in english or
  2092. german language (e.g.\ `Abstract' or `Zusammenfassung').
  2093. You should choose \utt|\titlepage| or |\notitlepage| if the title of
  2094. the paper etc.\ do or don't appear on a separate page which is
  2095. terminated with |\endpage|.
  2096. You can choose \utt|\botpagenum|, |\toppagenum| or |\nopagenum|
  2097. to get page numbers printed at the bottom of each page,
  2098. at the top of each page or to get no page numbers.
  2099. In any case there will be no page number on the title page.
  2100. You can choose \utt|\pageall| or |\pagechap| to get
  2101. pages numbered throughout the paper or numbered separately for each
  2102. chapter and appendix.
  2103. The commands \utt|\portrait| and |\landscape| will switch between
  2104. portrait and landscape format.
  2105. In the later case the page numbers will have
  2106. the number of the chapter or the letter of the appendix as prefix.
  2107. \utt|\figpage| and |\nofigpage| indicate that the
  2108. figure captions (if any) should or should not appear on one or
  2109. several separate pages.
  2110. The use of |\pagechap| forces them on separate pages in any case.
  2111. The analogous commands \utt|\tabpage|, |\notabpage|,
  2112. \utt|\refpage|, |\norefpage| and \utt|\footpage|, |\nofootpage|
  2113. do exactly the same for the table captions, the list of references
  2114. and (if applicable) the list of footnotes.
  2115. You should use \utt|\chapters| or |\nochapters| if your
  2116. paper does or does not contain chapters.
  2117. Depending on other options this may influence the numbering of pages,
  2118. equations, \dots\ .
  2119. You should use \utt|\arabicchapnum| or |\romanchapnum| if you want
  2120. the chapter numbers printed as arabic numbers or as (uppercase)
  2121. roman numerals.
  2122. You should use |\chappage| or \utt|\nochappage| if each chapter
  2123. and appendix should or should not start on a new page.
  2124. You can choose among |\equall|, \utt|\equchap| and
  2125. |\equsect| if the equations should be numbered throughout the
  2126. paper, for each chapter and appendix or for each section and appendix.
  2127. Use |\equleft|, \utt|\equright|, or |\equnone| if the equation numbers
  2128. should appear on the left side of the page, on the right side of
  2129. the page, or should not be printed at all.
  2130. You can choose |\equfull| or \utt|\equshort|
  2131. to indicate that |\queq| should
  2132. quote equation numbers in full or in abbreviated form (unless there is
  2133. an explicit |\fulltag| or |\shorttag|).
  2134. Use |\storebox|, \utt|\storelist| or |\storefile| if the
  2135. figure captions, table captions, references and (possibly) footnotes
  2136. shall be stored in boxes, as lists of macro definitions or on
  2137. external files.
  2138. Use \utt|\figall|, |\figchap| or |\figsect| if the figures should
  2139. be numbered throughout the paper, for each chapter and appendix or
  2140. for each section and appendix.
  2141. Use \utt|\taball|, |\tabchap| or |\tabsect| if the tables should
  2142. be numbered throughout the paper, for each chapter and appendix or
  2143. for each section and appendix.
  2144. Use \utt|\refsup| or |\refsqb| if quotations to references
  2145. should appear as superscripts or enclosed in square brackets.
  2146. Use \utt|\yearpage| or |\pageyear| if references generated
  2147. by the macros for physics journals should appear in the form
  2148. `journal {\bf volume} (year) page' or
  2149. `journal {\bf volume}, page (year)'.
  2150. Use \utt|\footbot| or |\footend| if `footnotes' should appear at
  2151. the bottom of the page or at the end of the paper.
  2152. Use \utt|\footsqb| or |\footpar| if you want footnote
  2153. numbers enclosed in square brackets or followed by a parenthesis.
  2154. This applies only to footnote numbers generated by |\foot|,
  2155. not to the symbols which are given to |\footnote| as argument.
  2156. %***  end of file PMANOPTS  ***
  2157. % \input pmanupdt   % updates and corrections ...
  2158. %***  this is file PMANUPDT as of 06.03.86  ***
  2159. \appendix{Updates and Corrections to PHYS/PHYSE}
  2160. \titcon{and Macro Libraries}
  2161. \secs{Updates and Corrections to PHYS/PHYSE}
  2162. The file PHYSUPDT TEX will contain ^{updates and corrections} of
  2163. errors which are not yet implemented in the PHYS/PHYSE format.
  2164. Therefore your {\TeX} input should start with the command
  2165. |\input physupdt| in order to get all known errors corrected.
  2166. In most cases you will, however, use a macro library and
  2167. it is most convenient to put this command into the macro library.
  2168. \secs{Private and Public Macro Libraries}
  2169. It is recommended to organize ^{macro libraries} in a hierarchical
  2170. fashion:
  2171. \dashitem one public macro library which contains macros useful for
  2172. all users at a computer or an institute.
  2173. This library should start with the command |\input|~^|physupdt|.
  2174. \dashitem one semi-public macro library for each larger group
  2175. of users which should start with a command that reads the
  2176. public macro library.
  2177. \dashitem one private macro library for one user (or for several
  2178. users working closely together) which should start with an
  2179. |\input| command for the appropriate semi-public library.
  2180. \secs{Macro Libraries at MPP}
  2181. At present we use the following public and semi-public macro
  2182. libraries:
  2183. \secss{The File MPPMAC} ^^|mppmac|
  2184. This library starts with |\input|~|physupdt| and contains macros
  2185. which should be useful for everybody at the Max-Plack-Institut f\"ur
  2186. Physik.\lb
  2187. ^|\mppnum| to generate an MPP preprint or report number and\lb
  2188. ^|\mppaddress| to generate the MPP address on the title page\lb
  2189. are described elsewhere in this manual and are needed in order
  2190. to produce a copy of this manual from the {\TeX} source.
  2191. In addition there is a command\lb
  2192. ^|\letter||{|\<name>|}{|\<phone>|}{|\<address>|}|\lb
  2193. which will produce an MPP letter head with your \<name> and
  2194. \<phone> and the \<address> of the recipient.
  2195. As usual different lines in this address are separated by |\\|.
  2196. There are actually two such commands, |\letterL| for output
  2197. on a LasergrafiX and |\letterC| for output on a Canon laser printer,
  2198. because none of the large fonts is available for both devices.
  2199. |\letter| is just a synonym for |\letterL|.
  2200. \secss{The File CELMAC} ^^|celmac|
  2201. This library starts with |\input|~|mppmac| and contains additional
  2202. macros useful for the CELLO group at MPP\null.
  2203. If you use this library the following additional macros are defined:\lb
  2204. ^|\Znull|, ^|\Wplus|, ^|\Wminus|, ^|\Wpm|, etc..
  2205. \secss{The File THEMAC} ^^|themac|
  2206. This library starts with |\input|~|mppmac| and contains additional
  2207. macros useful for the THEORY group at MPP\null.
  2208. If you use this library the following additional macros are defined:\lb
  2209. ^|\pthnum||{|\dots|}| instead of |\mppnum{PTh |\dots|}| and\lb
  2210. ^|\pthdate| instead of and |\pubdate|.
  2211. The following additional macros for physics journals are defined in
  2212. this file:
  2213. ^^|\AP|^^|\CMP|^^|\JMP|^^|\PRep|^^|\RMP|^^|\TMF|
  2214. %***  the following lines are copied from THEMAC  ***
  2215. \beginttlines
  2216. \def\AP{\journal{Ann.\ \Phys}}
  2217. \def\CMP{\journal{Commun.\ \Math\Phys}}
  2218. \def\JMP{\journal{J.\ \Math\Phys}}
  2219. \def\PRep{\journal{\Phys Rep.\ }}
  2220. \def\RMP{\journal{\Rev Mod.\ \Phys}}
  2221. \def\TMF{\journal{Teor.\ Mat.\ Fiz.\ }}
  2222. \endttlines
  2223. %***  end of file PMANUPDT  ***
  2224. % \input pmanmacs   % macro expansions, arguments, ...
  2225. %***  this is file PMANMAC as of 06.03.86  ***
  2226. \appendix{Macro Expansions, Arguments and Category Codes}
  2227. In this appendix we have to treat some sublteties which may become
  2228. important to someone designing somewhat more complicated macros.
  2229. Most users should skip this appendix, at least when reading this
  2230. manual for the first time.
  2231. It was said earlier that code names may consist of letters,
  2232. digits and apostrophes whereas usually {\TeX}'s control word
  2233. names consist of letters only.
  2234. The way this can be done is by temporarily declaring the
  2235. digits and the apostrophe to be letters while the code name
  2236. is read.
  2237. Since {\TeX} decides which characters are letters when they
  2238. are first read from the input file it is important that
  2239. e.g.\ the argument `|\Author81|' of |\quref{\Author81}| is
  2240. read by the macro |\quref| which temporarily causes the
  2241. digits |8| and |1| to behave as letters.
  2242. Things will clearly go wrong if you use something like\lb
  2243. |\def\xxx#1{#1}|\dots|\xxx{|\dots|\quref{\Author81}|\dots|}|\lb
  2244. because then `|\Author81|' is read as part of |\xxx|'s
  2245. argument as control word `|\Author|' (probably undefined)
  2246. followed by the digits `|81|'.
  2247. (Compare Chapter~7: How {\TeX} Reads What You Type,
  2248. Chapter~20: Definitions (also called Macros), and
  2249. Appendix~D: Dirty Tricks of the {\TeX}book\quref{\texbook}
  2250. for more details.)
  2251. Consider the macro definition |\def\line{\hbox to\hsize}|.
  2252. After expanding and processing the macro |\line|, which has
  2253. no argument, {\TeX} continues to read input characters and
  2254. expand macros and expects to find a left brace (either an
  2255. explicit one (|{|) or an implicit one (|\bgroup|)) which
  2256. starts a new level of grouping.
  2257. {\TeX} continues to read and expand input until eventually a matching
  2258. right brace is found at which point the horizontal list
  2259. built so far is put into an |\hbox| of width |\hsize|.
  2260. The input commands\lb
  2261. |\line{abc}| or |\line\bgroup abc\egroup| or\lb
  2262. |\def\xx{{abc}}\line\xx| or even things like\lb
  2263. |\line{abc\egroup| or |\def\xxx{\bgroup abc}\line\xxx}|\lb
  2264. would all give the same result.
  2265. The commands\lb
  2266. |\def\zzz{\egroup\line\bgroup}\line{abc\zzz def}|\lb
  2267. would even produce two lines.
  2268. The input\lb
  2269. |\def\yy{abc}\line\yy|\lb
  2270. would, however, be wrong and would lead to an error message.
  2271. Things are quite different with PLAIN's macro definition\lb
  2272. |\def\leftline#1{\line{#1\hss}}|\lb
  2273. because (with this definition) |\leftline| has one argument.
  2274. After reading the macro |\leftline| {\TeX} reads its
  2275. argument (without any macro expansion) and will subsequently
  2276. substitute this argument whenever there is a |#1| in the
  2277. replacement text.
  2278. Braces around a complex argument must be explicit and do not
  2279. provide a new level of grouping.
  2280. The input commands\lb
  2281. |\leftline{abc}| or |\def\yy{abc}\leftline\yy|\lb
  2282. would, therefore, give the same result.
  2283. The input\lb
  2284. |\leftline\bgroup abc\egroup|\lb
  2285. would, however, be wrong (the argument would be `|\bgroup|')
  2286. and would produce a quite different result.
  2287. We are here mostly concerned with code names.
  2288. The construction\lb
  2289. |\line{|\dots|\quref{\Author81}|\dots|}|\lb
  2290. works fine because |\Author81| will be read after expanding
  2291. the macro |\quref| as usual.
  2292. The construction\lb
  2293. |\leftline{|\dots|\quref{\Author81}|\dots|}|\lb
  2294. (with PLAIN's definition of |\leftline|) would however fail,
  2295. because |\Author81| is read ahead of time as part of the
  2296. argument for |\leftline|.
  2297. It is exactly for this reason that the macros ^|\leftline|,
  2298. ^|\rightline|, ^|\centerline|, ^|\rlap| and ^|\llap| have been
  2299. redefined in PHYS such that the above construction does what
  2300. it is assumed to do.
  2301. The original definitions, which are slightly faster, are
  2302. still available under the names ^|\plainleftline|,
  2303. ^|\plainrightline|, ^|\plaincenterline|, ^|\plainrlap| and
  2304. ^|\plainllap|.
  2305. %***  end of file PMANMAC  ***
  2306. % \input pmanold    % compatibility with the older version (0.95) ...
  2307. %***  this is file PMANOLD as of 06.03.86  ***
  2308. \appendix{Compatibility with the older Version (0.95) of PHYS}
  2309. The present version 1.0 of the PHYS/PHYSE format is not entirely
  2310. compatible with the previous one (0.95).
  2311. The main incompatibilities are:
  2312. \pointbegin the option ^|\equold| is no longer supported
  2313. \point the ^|\table| macro
  2314. \par\noindent
  2315. You can, however, still use the old (0.8) form of equation numbers
  2316. if you use the command |\input|~^|equold| instead of the option
  2317. |\equold|.
  2318. The new |\table| macro is based on the example on page 247
  2319. (Chapter~22: Alignment) of the {\TeX}book \quref{\texbook}
  2320. whereas the old macro was based on the example on page 392
  2321. (Appendix~D: Dirty Tricks).
  2322. The new macro is more flexible but sometimes you may want
  2323. to still use the old one.
  2324. In order to do so you can use the command |\input|~^|oldtabl|
  2325. to read the old macro definition.
  2326. Once this is done you can use ^|\oldtable| (default after
  2327. |\input|~|oldtabl|) or ^|\newtable| to indicate that |\table| shall
  2328. be the old or the new table macro.
  2329. The syntax of the old |\table| macro is\lb
  2330. |\table|\<box~specification>|{|\<alignment~material>|}|\lb
  2331. with the following restrictions:
  2332. \pointbegin The alignment preamble must terminate with |\cr|,
  2333. not with |\crcr|, and the table must contain at least one row
  2334. of aligned items.
  2335. \point The last row of the table must contain the maximal number of
  2336. columns (you can add empty entries if necessary)
  2337. \point Every row of the table should contain a |\strut|
  2338. to ensure the correct vertical spacing.
  2339. It is in fact advisable to have a strut in each table entry in order
  2340. to avoid `underfull hbox'es.
  2341. \point The alignment material should not contain |\noalign|.
  2342. All horizontal rules should be produced with |\tabrule|
  2343. right after the corresponding |\cr|.
  2344. \point The vertical rules are put into the middle of the tabskip glue
  2345. and the parts of the tabskip glue to the left of the leftmost rule
  2346. and to the right of the rightmost rule are cut off.
  2347. If the initial tabskip is zero (default) |\table| inserts its own
  2348. value (24.4pt plus 24pt minus 12pt, .4pt are for the width of the
  2349. vrule).
  2350. You can modify the value of tabskip in the alignment preamble,
  2351. but you should know exactly what you are doing.
  2352. Irrespective of your modifications |\table| will use the same
  2353. tabskip value after the last column as before the first column.
  2354. \point If you want to omit a vertical rule use |\omitrule| in the
  2355. alignment preamble, either immediately after the `|{|' or
  2356. immediately before an `|&|' or the `|\cr|'.
  2357. %***  end of file PMANOLD  ***
  2358. \nofigpage\figout           %  print figure captions on same page
  2359. \notabpage\tabout           %  print table captions on same page
  2360. \norefpage\refout           %  print references on same page
  2361. \nofootpage\footout         %  print footnotes on same page (\footbot)
  2362. \startindex       %make the index
  2363. \triplecolumn\tenpoint
  2364. \makeindex
  2365. \singlecolumn
  2366. \endpage\startpage-3\singlespace
  2367. \tocpage\tocout             %  print table of contents on new page
  2368. \bye              %  end of the TEX job
  2369. %***  end of file PMANUAL  ***
  2370.